Permalink
Browse files

model form using get_model

  • Loading branch information...
1 parent 6c5900f commit e4b77fb7923766e32c7e5a2b0a2adca4201e05c8 Greg Newman committed May 24, 2009
Showing with 6 additions and 0 deletions.
  1. +6 −0 Python.py/django/forms/modelform
@@ -0,0 +1,6 @@
+#INLINE##INDENT#
+class #SELSTART#modelname#SELEND#(forms.ModelForm):
+
+
+ class Meta:
+ model = get_model('#PLACEHOLDERSTART#app#PLACEHOLDEREND#', '#PLACEHOLDERSTART#model#PLACEHOLDEREND#')

0 comments on commit e4b77fb

Please sign in to comment.