logo
What do you think about this example?

Δ All posts

Django Announcements App

26 May 2010

Source: django-announcements @ github

I made this app because I needed a quick way to communicate with the users of my awesome mtg decks community, TappedOut.net. But I needed flexibility--I wanted certain messages to expire after a certain time, certain messages to appear on the homepage, others to appear in sub-pages, or maybe ALL urls. And I want users to be able to dismiss the messages--all with minimum invasiveness to my current project.

So I decided on a mix between the django.contrib.flatpages and django.contrib.messages -- a messaging system that you can throw at any url, and set to a specific level (warning, info, etc). What I came up with works great.

Currently, there's brosner's django-announcements but it didn't have the features I wanted (dismissing messages, expiring messages).

Comments

article writing says...

yuj fujy gui mkiu

Posted at 3:40 p.m. on November 10, 2011

term paper says...

It's a good decision. You can get unique and useful project.

Posted at 4:16 a.m. on November 11, 2011

Essays

View all