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).
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
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
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
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
5 matches
Mail list logo