Improved blog and newsletter ModelAdmins. Set BlogEntries and NewsletterArticlesup...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 19 Jan 2011 18:36:21 +0000 (13:36 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 19 Jan 2011 19:06:27 +0000 (14:06 -0500)
commit17d46134395cc0584ed6ba54b69e47490dc5b6a9
tree9448af71cf225956901ab22fc75b6942f13b6db0
parentd807884e8aa5b94a79e5f130fd2ce711e287eb3a
Improved blog and newsletter ModelAdmins. Set BlogEntries and NewsletterArticlesup to set their dates on save if it wasn't set manually - gives more accurate publishing times than a datetime.now() default. Set feed creation to use templates for title and description so that projects can customize the display for markdown etc. Limited Attribute.key to word characters to ensure template usability. Ordered Tags by name.
contrib/penfield/admin.py
contrib/penfield/models.py
contrib/penfield/templates/penfield/feeds/blog_entry/description.html [new file with mode: 0644]
contrib/penfield/templates/penfield/feeds/blog_entry/title.html [new file with mode: 0644]
contrib/penfield/templates/penfield/feeds/newsletter_article/description.html [new file with mode: 0644]
contrib/penfield/templates/penfield/feeds/newsletter_article/title.html [new file with mode: 0644]
models/base.py