Version 7 (modified by 15 years ago) ( diff ) | ,
---|
Session Messages
This page is meant to evaluate some of the different session/cookie message/notification engines out there for potential inclusion in the Django core. It is a work in progress so please contribute (your notification engine here) or other changes as you see fit.
For more information see:
- Ticket #4604
- http://groups.google.com/group/django-developers/browse_thread/thread/eba93088c649022b
Criteria
Criteria necessary for inclusion in the core:
- Support message passing for anonymous users
- Avoid database/cache queries if possible
- Support larger messages that don't fit in a cookie (> 4kb)
- Don't lose messages if they're not displayed to the user (lazy message loading)
- Signs cookie-based messages
- Provide a standard, intuitive interface so that reusable apps can provide feedback related to the current session
- Needs community approval/support
- Needs to be the "de facto" standard implementation
Available Options
Name and Link | Anonymous user support | Minimal DB Access | Supports messages > 4kb | Lazy loads messages | Signed cookies | Standard interface |
django-notify | yes | yes | yes | yes | yes | yes |
django-flash | yes | sometimes | sometimes | no | yes | no |
django-flash-status | yes | sometimes | sometimes | no | yes | yes |
Note:
See TracWiki
for help on using the wiki.