#1: add login page; require login for views
This commit is contained in:
parent
c4ae7f2759
commit
faea970aff
5 changed files with 31 additions and 7 deletions
7
templates/registration/login.html
Normal file
7
templates/registration/login.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<h2>Login</h2>
|
||||
|
||||
<form method="POST">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
Reference in a new issue