I read the documentation on the flatpages, included the middleware,
added the app, sync'd the database, and made an entry using the admin.

Every time I try to view the newly created flatpage, I get a 404 error.
I thought it might be because I have debug=true, but changing that
didn't help.

I'm using the development server on port 3000, and I created a flatpage
like this:

URL: /about/
Title: About Us
Content: Hello World
Sites: localhost:3000

I didn't change anything in urls.py. Is there something else I need to
do? I'm getting a 404, and it is my understanding that this middleware
steps in and looks for a flatpage when a 404 is found.

Here's what I get when I use the "view this page" link inside the admin
tool:

-----

Page not found (404)
Request Method: GET
Request URL: http://localhost:3000/about/

Using the URLconf defined in shop.urls, Django tried these URL
patterns, in this order:

^site_media/(?P<path>.*)
^store/
^admin/ 
^links/ 
The current URL, /about/, didn't match any of these.


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

Reply via email to