<gh_stars>0
#!/usr/bin/python  
# -*- coding:utf-8 -*-  
from django import forms

from apps.article.models import Article


class Article_form(forms.ModelForm):
    category = forms.IntegerField(required=True)
    class Meta:
        model = Article
        fields = ['title','authors','content']

