Re: Problems with admin.autodiscover()

2014-01-29 Thread Mark Phillips
I found the problem. In my settings directory I have three files - base.py, dev.py, pod.py. I had a typo in both dev.py and prod.py - from .base import *, and it should have been from base import * (no period before base). The site and admin functions are working properly now! Thanks, Mark

Re: Problems with admin.autodiscover()

2014-01-29 Thread Mark Phillips
I added this to my urls.py: import sys, os try: admin.autodiscover() except: e = sys.exc_info()[0] print >> sys.stderr, e and got this in the apache log - [core:notice] [pid 19280] AH00052: child pid 19284 exit signal Segmentation fault (11) The site loads correctly except for the

Re: Problems with admin.autodiscover()

2014-01-29 Thread Babatunde Akinyanmi
Response inline On 29 Jan 2014 07:22, "Mark Phillips" wrote: > > I have a site built using django 1.6. It runs as expected with runserver on my Debian laptop in a virtual env based on Python 2.7 (development machine). I copied the site to another Debian server

Problems with admin.autodiscover()

2014-01-28 Thread Mark Phillips
I have a site built using django 1.6. It runs as expected with runserver on my Debian laptop in a virtual env based on Python 2.7 (development machine). I copied the site to another Debian server (production), created the same virtual environment, and am trying to use Apache and mod-wsgi to serve