Friday, August 29, 2014

Re: how to call django web page with ordinary html page

On Fri, Aug 29, 2014 at 6:16 AM, Shubham Pansari
<> wrote:
> You are missing csrf_token which is set by request for csrf verification.
> After the line
> <form action="" 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:

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment