Opened 3 years ago

Closed 3 years ago

#19629 closed Uncategorized (invalid)

CSRF verification failed. Request aborted. when following instructions for comments

Reported by: tomsib2011@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi,
I introduced comments in my web site using this page https://docs.djangoproject.com/en/dev/ref/contrib/comments/#comment-template-tags, and I get an error page : CSRF verification failed. Request aborted. with the help :
Reason given for failure : CSRF token missing or incorrect.

Change History (1)

comment:1 Changed 3 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Please see TicketClosingReasons/UseSupportChannels.

(You most likely forgot to add {% csrf_token %} within your <form>.)

Note: See TracTickets for help on using tickets.
Back to Top