Changes between Version 20 and Version 21 of UsingVimWithDjango


Ignore:
Timestamp:
Oct 10, 2006, 5:07:06 AM (18 years ago)
Author:
Lllama
Comment:

Updated snippetsemu info to use more explicit command name

Legend:

Unmodified
Added
Removed
Modified
  • UsingVimWithDjango

    v20 v21  
    4040Models:
    4141{{{
    42 Snip addmodel class <{}>(models.Model):<CR><><CR><CR>def __str__(self):<CR>return "%s" % (<{}>,)<CR><CR>class Admin:<CR>pass<CR><CR>
    43 Snip mcf models.CharField(maxlength=<{}>)<CR><{}>
    44 Snip mff models.FileField(upload_to=<{}>)<CR><{}>
    45 Snip mfpf models.FilePathField(path=<{}>, match="<{}>", recursive=<False>)<CR><{}>
    46 Snip mfloat models.FloatField(max_digits=<{}>, decimal_places=<{}>)<CR><{}>
    47 Snip mfk models.ForeignKey(<{}>, edit_inline=<False>)<CR><{}>
    48 Snip m2m models.ManyToManyField(<{}>)<CR><{}>
    49 Snip o2o models.OneToOneField(<{}>)<CR><{}>
     42Snippet addmodel class <{}>(models.Model):<CR><><CR><CR>def __str__(self):<CR>return "%s" % (<{}>,)<CR><CR>class Admin:<CR>pass<CR><CR>
     43Snippet mcf models.CharField(maxlength=<{}>)<CR><{}>
     44Snippet mff models.FileField(upload_to=<{}>)<CR><{}>
     45Snippet mfpf models.FilePathField(path=<{}>, match="<{}>", recursive=<False>)<CR><{}>
     46Snippet mfloat models.FloatField(max_digits=<{}>, decimal_places=<{}>)<CR><{}>
     47Snippet mfk models.ForeignKey(<{}>, edit_inline=<False>)<CR><{}>
     48Snippet m2m models.ManyToManyField(<{}>)<CR><{}>
     49Snippet o2o models.OneToOneField(<{}>)<CR><{}>
    5050}}}
    5151
     
    5353
    5454{{{
    55 Iabbr fore {% for <{entry}> in <{list}> %}<CR>{{ <{entry}>.<{}> }}<CR><{}>{% endfor %}<CR><{}>
     55Snippet fore {% for <{entry}> in <{list}> %}<CR>{{ <{entry}>.<{}> }}<CR><{}>{% endfor %}<CR><{}>
    5656}}}
    5757
Back to Top