Adding "SITE_ID = 1" to your settings will get you past the exception without having to add it to INSTALLED_APPS. I had to do this one of my projects.
On Aug 21, 7:02 pm, Vladimir Prudnikov <[email protected]> wrote: > Yep, django.contrib.sites is not included in the INSTALLED_APPS list. > > On 21 Aug 2009, at 10:40, David Christiansen wrote: > > > > > Have you checked your INSTALLED_APPS for the sites app as well? > > > On Aug 20, 10:59 am, Vladimir Prudnikov <[email protected]> wrote: > >> I'm *not* using Sites framework ('django.contrib.admin' is not > >> included in INSTALLED_APPS and SITE_ID is not defined), but there is > >> an exception when I click on "View on website" link on the edit model > >> page in admin interface. > > >> Exception Value: You're using the Django "sites framework" > >> without > >> having set the SITE_ID setting. Create a site in your database and > >> set > >> the SITE_ID setting to fix this error. > > >> There is no check that Sites framework is really used. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
