Code

#20706 closed Uncategorized (invalid)

Problem with Comments Installed_apps

Reported by: jesikmin@… Owned by: nobody
Component: contrib.comments Version: 1.5
Severity: Release blocker Keywords:
Cc: jesikmin@… 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'm trying to use django.contrib.comments app.

However, I just used {% render_comment_form for post %} this, the 403 Forbidden error

Forbidden (403)
CSRF verification failed. Request aborted.

is keep appearing.

I checked that 'django.middleware.csrf.CsrfViewMiddleware', is also in my settings.py.

What is the error?

Attachments (1)

myblog.zip (19.4 KB) - added by anonymous 12 months ago.
It's my current file. It's not complicated or huge.

Download all attachments as: .zip

Change History (2)

Changed 12 months ago by anonymous

It's my current file. It's not complicated or huge.

comment:1 Changed 12 months ago by lukeplant

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

Please see TicketClosingReasons/UseSupportChannels
Thanks!
(BTW: my guess is your comment form does not use {% csrf_token %})

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.