add login/logout urls and templates

This commit is contained in:
aatish 2018-10-26 14:13:26 +05:45
commit eb07ef249b
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{% extends 'base.html' %}
{% block title %}Login{% endblock %}
{% block body_content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %} {{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}