To test attributes
This commit is contained in:
parent
8e5178d236
commit
c69f680c6d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user