Permalink
Browse files

fixed missing import in views.py

  • Loading branch information...
1 parent 22f69ba commit d553c3d4a8a4d98c4440eff501bf84f45c0ec2da @rosskarchner rosskarchner committed Feb 24, 2012
Showing with 8 additions and 1 deletion.
  1. +5 −1 setup.py
  2. +3 −0 src/nudge/views.py
View
@@ -20,7 +20,11 @@
url="https://github.com/jroo/django-nudge",
download_url="https://github.com/downloads/jroo/django-nudge/django-nudge-0.5.3.tar.gz",
zip_safe=False,
- packages=["nudge", "nudge.demo", "nudge.management", "nudge.management.commands"],
+ packages=["nudge", "nudge.demo", "nudge.management", "nudge.templatetags", "nudge.management.commands"],
+ package_data = {"nudge": ["templates/*.html",
+ "templates/admin/nudge/*.html",
+ "templates/admin/nudge/batch/*.html",
+ "templates/admin/nudge/setting/*.html"]},
package_dir={"": "src"},
install_requires=['django', 'django-reversion', 'pycrypto',],
cmdclass = cmdclass,
View
@@ -3,6 +3,9 @@
from server import process_batch
+from nudge.models import *
+
+
SETTINGS, created = Setting.objects.get_or_create(pk=1)
@csrf_exempt

0 comments on commit d553c3d

Please sign in to comment.