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