Re: flatpages issues

2007-07-16 Thread John-Scott Atlakson
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).

Re: flatpages issues

2007-07-16 Thread Jacob Kaplan-Moss
On 7/16/07, John-Scott <[EMAIL PROTECTED]> wrote: > Can someone in the know confirm or deny that adding the catch-all line > to urls.py is in fact required to invoke flatpages? No, it's not; the fallback middleware works fine for me. If it's not working for you, chances are you've got something

Re: flatpages issues

2007-07-16 Thread John-Scott
Can someone in the know confirm or deny that adding the catch-all line to urls.py is in fact required to invoke flatpages? I checked out the source for djangoproject.com and it has this as the last item in urlpatterns: (r'', include('django.contrib.flatpages.urls')), If this is required, should

Re: flatpages issues

2007-07-13 Thread John-Scott Atlakson
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

Re: flatpages issues

2007-07-13 Thread Jacob Kaplan-Moss
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