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, Діма Ревуцький <[email protected]> wrote:

> 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
>> 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 / password brings up all the red errors you'd
>> expect).
>>
>> I'm not sure what's going on here. The console gives me the following:
>>
>> (cache) C:\PythonProjects\CacheProject\cache>python manage.py
>> runserver
>> Validating models...
>>
>> 0 errors found
>> Django version 1.3, using settings 'cache.settings'
>> Development server is running at http://127.0.0.1:8000/
>> Quit the server with CTRL-BREAK.
>> [06/Jun/2011 11:52:09] "GET /admin/ HTTP/1.1" 200 2053
>> [06/Jun/2011 11:52:17] "POST /admin/ HTTP/1.1" 302 0
>> [06/Jun/2011 11:52:21] "GET /admin/ HTTP/1.1" 200 2053
>>
>> settings.py -
>> #
>> INSTALLED_APPS = (
>>     'django.contrib.auth',
>>     'django.contrib.contenttypes',
>>     'django.contrib.sessions',
>>     'django.contrib.sites',
>>     'django.contrib.messages',
>>     'django.contrib.admin',
>> )
>> #
>>
>> urls.py -
>>
>> from django.conf.urls.defaults import patterns, include, url
>>
>> from django.contrib import admin
>> admin.autodiscover()
>>
>> urlpatterns = patterns('',
>>     (r'^admin/', include(admin.site.urls)),
>> )
>>
>> Any ideas?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/739282ff-e00d-46ca-99dc-8bebdff27f6f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/739282ff-e00d-46ca-99dc-8bebdff27f6f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJPKeEi_bZRMe_YTPbigu8VNXH%2BDxGF3bVyZdk9piPjk5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to