# It's very probable that the token is missing because of
# misconfiguration, so we raise a warning
fromdjango.confimportsettings
ifsettings.DEBUG:
warnings.warn("A {% csrf_token %} was used in a template, but the context did not provide the value. This is usually caused by not using RequestContext.")