Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding decimal, email and file fields

  • Loading branch information...
commit 3dd2e1322a5a09c45d281b3ff079fec06f6c25b7 1 parent e91ded6
Greg Newman authored May 24, 2009
2  Python.py/django/models/decimal
... ...
@@ -0,0 +1,2 @@
  1
+#INLINE##INDENT#
  2
+#SELSTART#fieldname#SELEND# = models.DecimalField(_('#PLACEHOLDERSTART#name#PLACEHOLDEREND#'), max_digits=$2, decimal_places=$3)
2  Python.py/django/models/email
... ...
@@ -0,0 +1,2 @@
  1
+#INLINE##INDENT#
  2
+#SELSTART#fieldname#SELEND# = models.EmailField()
2  Python.py/django/models/file
... ...
@@ -0,0 +1,2 @@
  1
+#INLINE##INDENT#
  2
+#SELSTART#fieldname#SELEND# = models.FileField(_('#PLACEHOLDERSTART#name#PLACEHOLDEREND#'), upload_to="#PLACEHOLDERSTART#path/to/folder#PLACEHOLDEREND#")

0 notes on commit 3dd2e13

Please sign in to comment.
Something went wrong with that request. Please try again.