Skip to content

Instantly share code, notes, and snippets.

@chriskief

chriskief/view.py

Created Oct 24, 2013
Embed
What would you like to do?
from django.contrib import messages
# within a view method
messages.add_message(request, messages.INFO, 'This message will appear after the redirect!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment