Skip to content

Instantly share code, notes, and snippets.

@kerin
Created April 17, 2015 10:26
Show Gist options
  • Save kerin/746c3be644e62761b60a to your computer and use it in GitHub Desktop.
Save kerin/746c3be644e62761b60a to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "./vis/wsgi.py", line 17, in <module>
application = get_wsgi_application()
File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "./vis/../vis/apps/wagtailextra/models.py", line 3, in <module>
from wagtail.wagtailcore.models import Page, \
File "/usr/local/lib/python2.7/dist-packages/wagtail/wagtailcore/models.py", line 268, in <module>
class Page(six.with_metaclass(PageBase, MP_Node, ClusterableModel, index.Indexed)):
File "/usr/lib/python2.7/dist-packages/six.py", line 617, in with_metaclass
return meta("NewBase", bases, {})
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 71, in __new__
module = attrs.pop('__module__')
KeyError: u'__module__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment