Code

Changes between Version 1 and Version 2 of FormGenScript


Ignore:
Timestamp:
01/04/07 11:08:02 (8 years ago)
Author:
Lllama
Comment:

Add syntax highlighting

Legend:

Unmodified
Added
Removed
Modified
  • FormGenScript

    v1 v2  
    77Model: 
    88{{{ 
     9#!python 
    910class Category(models.Model): 
    1011    category = meta.CharField(maxlength=50, unique=True) 
     
    1718Output: 
    1819{{{ 
     20#!python 
    1921class CategoryForm(forms.Form): 
    2022    category = forms.CharField()