Re: flatpages issues
Ah ha! I just looked through my settings.py file and noticed the setting: SITE_ID = 1 I decided to double check the raw data for the django_sites table and my site id is '2'. (I think id 1 used to be 'example.com' but I had deleted it instead of renaming it, thus creating a mismatch with SITE_ID). Once I changed the SITE_ID value everything started working. I deleted the item from urlpatterns, and you're right, it's unnecessary. Thanks for attempting to get me sorted out. Cheers, John-Scott. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: flatpages issues
Yes sir. I followed the examples in the official docs literally and in order (http://www.djangoproject.com/documentation/flatpages/#installation steps 1-3). That worked fine and I was able to immediately start creating flatpages via the admin interface. But I cannot view flatpages on the site. I only added the line to urls.py because I saw some other example somewhere with the catch-all-else pattern but this did seem to at least get me one step closer. Without the urls.py addition, flatpages does not seem to be invoked to handle the 404 at all. Cheers, j-s On 7/13/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > > Hi John-Scott -- > > Did you add ' > django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' > to your ``MIDDLEWARE_CLASSES`` setting? > > Jacob > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---