Re: Flatpages problem

2006-08-03 Thread Edmund


Adrian Holovaty wrote:

> Are you sure you added
> 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' to
> your MIDDLEWARE_CLASSES setting? That's the part that actually
> *serves* the flatpages.

Thanks for the reply Adrian. Yes, I did add this. I was using
mod_python and Apache2. I've gone back to using the dev server, and
things seem to be working now. Must have set up something incorrectly
in the Apache config. I'll have to take a closer look at this to see
what the problem was.


...Edmund.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Flatpages problem

2006-08-02 Thread Edmund

Newbie question here... I installed Flatpages as per the docs. Then, I
created a flatpage via the admin interface, and also checked that the
SITE_IDs shown matched that in my settings.py.

But, I get a 404. On tracing through the 404, I see that it is being
raised in ~/django_src/django/shortcuts/__init__.py as a result of a
klass.DoesNotExist exception in the get_object_or_404 method.

What does this mean? What have I not done?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---