Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Login</title>
  4. </head>
  5. <body>
  6.  
  7. <form action = "{% url 'login' %}" method = "post">{% csrf_token %}
  8. {{ form.as_p }}
  9. <input type = "submit" value="Login">
  10. </form>
  11.  
  12. <form action = "{% url 'create' %}" method = "post">{% csrf_token %}
  13. {{ form.as_p }}
  14. <input type = "submit" value = "Create">
  15. </form>
  16.  
  17. </body>
  18. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement