Changes between Version 37 and Version 38 of SessionMessages


Ignore:
Timestamp:
11/30/2009 09:12:45 AM (6 years ago)
Author:
tobias
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