Permalink
Browse files

fk, float and image

  • Loading branch information...
1 parent 3dd2e13 commit e60203d1a2635d22d106ad3ffc00b0fe7cc7ca4d @gregnewman committed May 24, 2009
Showing with 6 additions and 0 deletions.
  1. +2 −0 Python.py/django/models/fk
  2. +2 −0 Python.py/django/models/float
  3. +2 −0 Python.py/django/models/image
@@ -0,0 +1,2 @@
+#INLINE##INDENT#
+#SELSTART#fieldname#SELEND# = models.ForeignKey(#PLACEHOLDERSTART#related-model#PLACEHOLDEREND#)
@@ -0,0 +1,2 @@
+#INLINE##INDENT#
+#SELSTART#fieldname#SELEND# = models.FloatField()
@@ -0,0 +1,2 @@
+#INLINE##INDENT#
+#SELSTART#fieldname#SELEND# = models.ImageField(upload_to="#PLACEHOLDERSTART#path/to/upload#PLACEHOLDEREND#", height_field=#PLACEHOLDERSTART#height#PLACEHOLDEREND#, width_field=#PLACEHOLDERSTART#width#PLACEHOLDEREND#)

0 comments on commit e60203d

Please sign in to comment.