Changes between Version 33 and Version 34 of UsingVimWithDjango


Ignore:
Timestamp:
09/05/2008 12:52:29 AM (6 years ago)
Author:
httpdss
Comment:

correction to the snippets syntax for django 1.0 compatibility

Legend:

Unmodified
Added
Removed
Modified
  • UsingVimWithDjango

    v33 v34  
    3333Models:
    3434{{{
    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(maxlength=<{}>)<CR><{}>
     35Snippet addmodel class <{}>(models.Model):<CR><><CR><CR>def __unicode__(self):<CR>return "%s" % (<{}>,)
     36Snippet mcf models.CharField(max_length=<{}>)<CR><{}>
    3737Snippet mff models.FileField(upload_to=<{}>)<CR><{}>
    3838Snippet mfpf models.FilePathField(path=<{}>, match="<{}>", recursive=<False>)<CR><{}>
Back to Top