Thank you very much! That was indeed the issue. There was a site in the
db, but apparently things were corrupt. Removing all sites and adding a
new one via the admin interface solved the problem. Not sure if that is
a bug or a feature :)
Your query works as well (although 'domain' and 'name'
your missing the site record.
go into your database and create a record with the site_id from your
project file
eg.
insert into django_site(id,name,domain) values (N,
'example','example.com')
where 'N' is your SITE_ID.
On 21/08/2006, at 6:40 PM, cyberco wrote:
>
> I'm still having this
I'm still having this problem (neglected it for a while, but now is the
time I MUST solve it). Has anybody here a suggestion in which direction
to search?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Is anybody else having this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
Login a user out works fine, but I can't get logging in working (0.95).
I keep getting 'Site matching query does not exist'. What I got:
urls.py:
(r'^accounts/login/$', 'django.contrib.auth.views.login',
{'template_name': 'registration/login.html'}),
(r'^accounts/logout/$',
5 matches
Mail list logo