Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added forms.py

  • Loading branch information...
commit d8d8f462e569b98a6732064ea911dc4b00b37a51 1 parent 9a952c7
ajvb authored
Showing with 7 additions and 0 deletions.
  1. +6 −0 django-files/forms.py-needed
  2. +1 −0  djangobuilder.py
View
6 django-files/forms.py-needed
@@ -0,0 +1,6 @@
+from django.contrib.auth.models import User
+from django import forms
+from django.utils.encoding import smart_unicode
+from django.utils.translation import ugettext_lazy as _
+
+from %(APP_NAME)s.models import *
View
1  djangobuilder.py
@@ -67,6 +67,7 @@ def copy_files(folder_path, file_types, pathify):
'__init__.py': ['%(PROJECT_NAME)s/', '%(APP_NAME)s/'],
'appurls.py': ['%(APP_NAME)s/'],
'django.wsgi': ['apache/'],
+ 'forms.py': ['%(APP_NAME)s/'],
'manage.py': [''],
'model_forms.py': ['%(APP_NAME)s/'],
'models.py': ['%(APP_NAME)s/'],
Please sign in to comment.
Something went wrong with that request. Please try again.