Changes between Version 33 and Version 34 of UsingVimWithDjango
- Timestamp:
- Sep 5, 2008, 12:52:29 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingVimWithDjango
v33 v34 33 33 Models: 34 34 {{{ 35 Snippet addmodel class <{}>(models.Model):<CR><><CR><CR>def __ str__(self):<CR>return "%s" % (<{}>,)<CR><CR>class Admin:<CR>pass<CR><CR>36 Snippet mcf models.CharField(max length=<{}>)<CR><{}>35 Snippet addmodel class <{}>(models.Model):<CR><><CR><CR>def __unicode__(self):<CR>return "%s" % (<{}>,) 36 Snippet mcf models.CharField(max_length=<{}>)<CR><{}> 37 37 Snippet mff models.FileField(upload_to=<{}>)<CR><{}> 38 38 Snippet mfpf models.FilePathField(path=<{}>, match="<{}>", recursive=<False>)<CR><{}>