Admin login returns 405 Not Allowed

2016-09-04 Thread Peter Laudenslager
Hi All, Having trouble moving my Django site into production. I can hit pages for my application (no authentication required), and they all seem to work correctly. When I connect to the default admin page, I see the correct login dialog box. When I submit my credentials, I get a 405 Not Allo

Admin login returns 405 Not Allowed

2016-09-04 Thread Peter Laudenslager
Sorry - somehow posted too early. For a moment I thought I had this sorted. I had slightly different versions of Django between my development and production environments, and some of the static files for the admin pages had changed. It made sense that when Nginx redirected the static file re

Re: Admin login returns 405 Not Allowed

2016-09-05 Thread Peter Laudenslager
> > Here is the specific error logged by Django's debug logger: Exception while resolving variable 'is_popup' in template 'admin/login.html'. Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 907, in _resolve_lookup (bit, curre

Re: Admin login returns 405 Not Allowed

2016-09-05 Thread Peter Laudenslager
PARTIALLY SOLVED!! The trouble seems to be with memcached. I commented out references to memcached in the nginx configuration, and things started working properly. I assume the admin page can be used with memcached, but something is wrong with my configuration. Maybe related to the post comma