Changes between Version 1 and Version 2 of FormGenScript
- Timestamp:
- Jan 4, 2007, 1:08:02 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FormGenScript
v1 v2 7 7 Model: 8 8 {{{ 9 #!python 9 10 class Category(models.Model): 10 11 category = meta.CharField(maxlength=50, unique=True) … … 17 18 Output: 18 19 {{{ 20 #!python 19 21 class CategoryForm(forms.Form): 20 22 category = forms.CharField()