To test attributes

This commit is contained in:
Luis Carlos Cruz Carballo 2015-07-10 22:46:18 -04:00
parent 8e5178d236
commit c69f680c6d

View File

@ -128,7 +128,7 @@ endsnippet
snippet model "Model" snippet model "Model"
class ${1:MODELNAME}(models.Model): class ${1:MODELNAME}(models.Model):
${0}
class Meta: class Meta:
verbose_name = "$1" verbose_name = "$1"
verbose_name_plural = "$1s" verbose_name_plural = "$1s"
@ -370,6 +370,6 @@ endsnippet
# MODEL FIELDS SNIPPETS # # MODEL FIELDS SNIPPETS #
########################################################################### ###########################################################################
snippet null "null" w snippet null "null" i
null=${1:True} null=${1:True}
endsnippet endsnippet