Merge pull request #693 from carlitux/master

Fix DecimalField on models
This commit is contained in:
Louis Pilfold 2016-03-08 09:37:53 +00:00
commit 9160fed96c

View File

@ -185,7 +185,7 @@ ${1:FIELDNAME} = models.DateTimeField($2)
endsnippet
snippet mdecimal "DecimalField" b
${1:FIELDNAME} = models.DateTimeField($2)
${1:FIELDNAME} = models.DecimalField(max_digits=${2:10}, decimal_places=${3:2})
endsnippet
snippet memail "EmailField" b