Reputation: 4131
I was wondering if there's anything better than the flatpages app for Django, because flatpages doesn't even support things like status (draft, published) or publish date. Is there anything out there?
Upvotes: 5
Views: 2773
Reputation: 14908
How about creating a one-to-one mapping with the flatpage model? I've never done that myself, but I guess it should work.
Upvotes: 0
Reputation: 1511
I would qualify the answer from hasen j. I've had a lot of luck extending the flatpages app itself. Check out these sources and then just add the fields you need and update the views. Not difficult.
http://overtag.dk/wordpress/2008/07/tip-extending-django-flatpages/
http://mrlauer.wordpress.com/2008/05/31/a-little-django-flatpage-trick/
Upvotes: 6
Reputation: 5243
django-cms is flatpages on steroids. The development version has turned into an overcomplicated mess, but the current release is excellent.
Upvotes: 7