created new FT file at functional_tests.test_my_lists, where the first test model focuses on the integrity of cookie sessions; much of FT login/logout logic offloaded to helper functions in .base;logout django templating added to base.html
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</a>
|
||||
{% if user.email %}
|
||||
<span class="navbar-text">Logged in as {{ user.email }}</span>
|
||||
<form action="TODO" method="POST">
|
||||
<form method="POST" action="{% url "logout" %}">
|
||||
{% csrf_token %}
|
||||
<button id="id_logout" class="btn btn-outline-secondary" type="submit">
|
||||
Log Out
|
||||
|
||||
Reference in New Issue
Block a user