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:
@@ -1,8 +1,10 @@
|
||||
from django.urls import include, path
|
||||
from . import views
|
||||
from django.contrib.auth import views as auth_views
|
||||
from django.urls import path
|
||||
from . import views as lyric_views
|
||||
|
||||
urlpatterns = [
|
||||
path('send_login_email', views.send_login_email, name='send_login_email'),
|
||||
path('login', views.login, name="login"),
|
||||
path('send_login_email', lyric_views.send_login_email, name='send_login_email'),
|
||||
path('login', lyric_views.login, name='login'),
|
||||
path('logout', auth_views.LogoutView.as_view(next_page='/'), name='logout')
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user