Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django model form

class YourForm(ModelForm):
	class Meta:
    	model = YourModel
    	fields = ['pub_date', 'headline', 'content', 'reporter']
 
PREVIOUS NEXT
Tagged: #django #model #form
ADD COMMENT
Topic
Name
9+2 =