Changes between Version 37 and Version 38 of SessionMessages


Ignore:
Timestamp:
Nov 30, 2009, 9:12:45 AM (15 years ago)
Author:
Tobias McNulty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SessionMessages

    v37 v38  
    101101from django.contrib import messages
    102102
    103 request.messages.add(messages.INFO, 'message')
     103messages.add_message(request, messages.INFO, 'message')
    104104# or
    105 request.messages.error('message')
     105messages.error(request, 'message')
    106106}}}
    107107
Back to Top