django-cnote 0.3.4

A simple cookie based user notification system
django-cnote is a Django app that provides a simple cookie based user notification system.

Installation:

 1. Add the cnotes directory to your python path.
 2. Add cnotes.middleware.CnotesHandlerMiddleware to the MIDDLEWARE_CLASSES variable in your settings.py file.

Usage:

Adding new messages:

import cnotes
cnotes.add('My message')


Getting, clearing and printing all existing messages:

import cnotes
notes = cnotes.get_and_clear()
for note in notes:
 print note


Similar action without clearing:

import cnotes
notes = cnotes.get()
for note in notes:
 print note

last updated on:
September 11th, 2009, 7:29 GMT
price:
FREE!
developed by:
Sean O'Connor
homepage:
github.com
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT