diff --git a/django/views/csrf.py b/django/views/csrf.py index c95d19d..e47176d 100644 --- a/django/views/csrf.py +++ b/django/views/csrf.py @@ -42,6 +42,15 @@ CSRF_FAILURE_TEMPLATE = """ re-enable them, at least for this site, or for HTTPS connections, or for 'same-origin' requests.
{% endif %} +{% if no_cookie %} +You are seeing this message because this site requires a CSRF + cookie when submitting forms. This cookie is required for security + reasons, to ensure that your browser is not being hijacked by third + parties.
+ +If you have configured your browser to disable cookies, please + re-enable them, at least for this site, or for 'same-origin' requests.
+{% endif %} {% if DEBUG %}