Changes between Version 37 and Version 38 of SessionMessages
- Timestamp:
- Nov 30, 2009, 9:12:45 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SessionMessages
v37 v38 101 101 from django.contrib import messages 102 102 103 request.messages.add(messages.INFO, 'message')103 messages.add_message(request, messages.INFO, 'message') 104 104 # or 105 request.messages.error('message')105 messages.error(request, 'message') 106 106 }}} 107 107