Site working perfectly in development, but admin and pages are crashing in production

36 views
Skip to first unread message

Philip Southwell

unread,
Mar 15, 2015, 10:19:23 AM3/15/15
to django...@googlegroups.com
Hi there,

I've been trying to sort this out for about 30 hours and it's killing me so any help would be appreciated. 

I have a django/mezzanine site which is working perfectly in development. Now it's deployment time and I'm getting a NoReverseMatch for every Mezzanine page and Mezzanine admin page. It's throwing the same error for every page not to do with my custom app "free2me". I've created a generic mezzanine project successfully with the same virtual environment so I know that all the libraries are working as intended.

The home page is fine http://test.free2me.com.au/ (or will be once I can get to the admin)
However when I link to any of the Mezzanine pages I get errors like this: http://test.free2me.com.au/about/

When I login to the admin I get a variety of similar errors each time I refresh, but relating to different models:

For completeness I've attached settings.py which is overwritten by local_settings.py for ADMINS, ALLOWED_HOSTS, DATABASES, MEDIA_ROOT, MEDIA_URL, STATIC_ROOT, STATIC_URL and KEYS.

I'm using a mod_wsgi 3.5/Python 3.3 webfaction app with a virtual environment. My app uses the geodjango component of django in case this matters.

Thanks in advance for any suggestions. This really is driving me crazy.
settings.py

Philip Southwell

unread,
Mar 15, 2015, 10:19:23 AM3/15/15
to django...@googlegroups.com
settings.py
Reply all
Reply to author
Forward
0 new messages