Skip to content

Commit

Permalink
Add CRSF token to example.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyg committed Dec 27, 2014
1 parent a9c5b7b commit 5d5d8da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ class MyView(FormView):
{{ form.media }}
</head>
<body>
{{ form.as_p }}
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
</form>
</body>
</html>
```
Expand Down

0 comments on commit 5d5d8da

Please sign in to comment.