django-cnote

A simple cookie based user notification system
Download

django-cnote Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Sean O'Connor
  • Publisher web site:
  • http://github.com/SeanOC/

django-cnote Tags


django-cnote Description

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 cnotescnotes.add('My message')Getting, clearing and printing all existing messages:import cnotesnotes = cnotes.get_and_clear()for note in notes: print noteSimilar action without clearing:import cnotesnotes = cnotes.get()for note in notes: print note Requirements: · Python · Django


django-cnote Related Software