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><{}> |
| 42 | Snippet addmodel class <{}>(models.Model):<CR><><CR><CR>def __str__(self):<CR>return "%s" % (<{}>,)<CR><CR>class Admin:<CR>pass<CR><CR> |
| 43 | Snippet mcf models.CharField(maxlength=<{}>)<CR><{}> |
| 44 | Snippet mff models.FileField(upload_to=<{}>)<CR><{}> |
| 45 | Snippet mfpf models.FilePathField(path=<{}>, match="<{}>", recursive=<False>)<CR><{}> |
| 46 | Snippet mfloat models.FloatField(max_digits=<{}>, decimal_places=<{}>)<CR><{}> |
| 47 | Snippet mfk models.ForeignKey(<{}>, edit_inline=<False>)<CR><{}> |
| 48 | Snippet m2m models.ManyToManyField(<{}>)<CR><{}> |
| 49 | Snippet o2o models.OneToOneField(<{}>)<CR><{}> |