rick
rick

Reputation: 4131

Is there anything better than flatpages for Django?

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

Answers (4)

Ztyx
Ztyx

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

Marco
Marco

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

hasen
hasen

Reputation: 166162

Just roll your own.

Should be rather simple, really!

Upvotes: 4

vezult
vezult

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

Related Questions