On Fri, Aug 29, 2014 at 6:16 AM, Shubham Pansari
<pansarishubham2395@gmail.com> wrote:
> You are missing csrf_token which is set by request for csrf verification.
> After the line
> <form action="http://127.0.0.1:8000/test/" method="post">
> in your code put {%csrf_token%} and it should work fine
I'm a Django newbie, so I could well be mistaken, but I don't think
that will work. The OP said it was plain HTML; that means Django
doesn't process it, so Django template tags won't work. But it looks
like Flatpages might help:
http://www.djangobook.com/en/2.0/chapter16.html.
--
Matt Gushee
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABrD0ed5HGNC%2BVbz3urmaJNEpYVWSdbjKmu86F4rkENL3DydDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment