Re: Django Admin Login - Redirecting back to login page

2014-06-24 Thread Aaron Reabow
also try: LOGIN_REDIRECT_URL On Tuesday, 24 June 2014 16:55:21 UTC+2, Sergiy Khohlov wrote: > > Hello, > > Could you please paste your LOGIN_URL from your settings.py > > > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький

Re: Django Admin Login - Redirecting back to login page

2014-06-24 Thread Sergiy Khohlov
Hello, Could you please paste your LOGIN_URL from your settings.py Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький wrote: > I had same problem > In settings remove SESSION_COOKIE_DOMAIN or set correct domain > >

Re: Django Admin Login - Redirecting back to login page

2014-06-24 Thread Діма Ревуцький
I had same problem In settings remove SESSION_COOKIE_DOMAIN or set correct domain понедельник, 6 июня 2011 г., 13:57:11 UTC+3 пользователь Aidan написал: > > I'm having trouble with the Django Admin. My login page appears ok at > http://127.0.0.1:8000/admin but when I try to login with a valid

Re: Django Admin Login - Redirecting back to login page

2011-06-06 Thread Aidan
Have commented out the 'SESSION_COOKIE_SECURE' and 'SESSION_EXPIRE_AT_BROWSER_CLOSE' from the settings.py file. This has fixed the problem and I can now log in to admin. On Jun 6, 1:33 pm, Aidan wrote: > Thanks for the input. > > I've tried deleting all .pyc files and still

Re: Django Admin Login - Redirecting back to login page

2011-06-06 Thread Aidan
Thanks for the input. I've tried deleting all .pyc files and still get the same issue. Also checked the cookies - I've got one sessionid and one csrftoken, so that doesn't look like the issue. I've tried using the chrome javascript debugger to look for 404's and haven't found any. I haven't

Re: Django Admin Login - Redirecting back to login page

2011-06-06 Thread Karen Tracey
On Mon, Jun 6, 2011 at 6:57 AM, Aidan wrote: > I'm having trouble with the Django Admin. My login page appears ok at > http://127.0.0.1:8000/admin but when I try to login with a valid > username or password the page seems to refresh - it reappears with > text boxes empty. It

Re: Django Admin Login - Redirecting back to login page

2011-06-06 Thread Martin
Oh and: - delete all *.pyc files from your project and restart the development server <-- this is a nice one that often solves mysterious problems that seem to be impossible and drive you insane Best regards, Martin On Mon, Jun 6, 2011 at 7:13 PM, Martin

Re: Django Admin Login - Redirecting back to login page

2011-06-06 Thread Martin
I faced this a long time ago and it nearly drove me insane. Eventually I just started a new project from scratch and the problem disappeared. Wild guesses: - Open the JavaScript debug toolbar of Google Chrome (CTRL+SHIFT+J), then reload the site and see if there are any 404 errors (that

Django Admin Login - Redirecting back to login page

2011-06-06 Thread Aidan
I'm having trouble with the Django Admin. My login page appears ok at http://127.0.0.1:8000/admin but when I try to login with a valid username or password the page seems to refresh - it reappears with text boxes empty. It doesn't display any errors on the page (logging in with invalid username /