I see now. Thank you.
I just hoped that I found a bug.

-----Original Message-----
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of James Bennett
Sent: Thursday, April 19, 2007 7:05 PM
To: django-users@googlegroups.com
Subject: Re: Generic login view bug suspection


On 4/19/07, mojo <[EMAIL PROTECTED]> wrote:
> I think this might be a bug. Unexpected behaviour at least.
> When I delete default Site object ('example.com'), generic login view
raises
> exception, as it is looking for Site with pk=1.

We really need to document this a little better; if you delete that
Site object, you'll have to create a new one and change the SITE_ID
setting in your settings file to match the id of that new object,
because lots of things use that to look up site-specific content.

The preferred method is simply to edit the default Site object to have
the correct domain name.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of
correct."


--~--~---------~--~----~------------~-------~--~----~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to