where to import messages in django

Solutions on MaxInterview for where to import messages in django by the best coders in the world

showing results for - "where to import messages in django"
Merlin
15 May 2016
1from django.contrib import messages
2
3messages.info(request, 'Three credits remain in your account.')
4messages.success(request, 'Profile details updated.')
5messages.warning(request, 'Your account expires in three days.')
6messages.error(request, 'Document deleted.')
7messages.debug(request, '%s SQL statements were executed.' % count)
8