swampdragon-django-notifications-demo
swampdragon-django-notifications-demo copied to clipboard
Maybe it is me
Clone. cd in to project pip install -r requirements.txt python manage.py migrate python manage.py runserver
nemonik@ubuntu:~/Development/workspace/swampdragon-django-notifications-demo$ python manage.py runserver
/usr/local/lib/python2.7/dist-packages/swampdragon/model_tools.py:1: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
from django.db.models.loading import get_model as get_django_model
/usr/local/lib/python2.7/dist-packages/swampdragon/model_tools.py:1: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
from django.db.models.loading import get_model as get_django_model
Performing system checks...
System check identified no issues (0 silenced).
August 06, 2015 - 17:48:14
Django version 1.8.3, using settings 'notifications.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
But in Firefox or Chrome I get:
TypeError: window.swampdragon_settings is undefined swampdragon.min.js:1:1271
ReferenceError: swampdragon is not defined
In the console, and the page remains at
Notifications demo
I'm running this on Ubuntu 14.04 running in VMware Fusion on OS X.
Thoughts?
It's not you: The current version of swampdragon available through pip doesn't format some of the html properly.
The main branch of the swampdragon git repo seems to be a great deal more stable than the pip version:
I maintain the Arch Linux package for swampdragon here
-Dave
P.S. Attached a diff to fix your problem diff.txt