mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 18:05:51 +01:00
Fix: Fix test failure cased by new django-test client response
+ Also fix the old middleware + Fix MIDDLEWARE name error
This commit is contained in:
@@ -3,6 +3,8 @@ from django.conf.urls import url, include
|
||||
from users.views import login_user
|
||||
from . import views
|
||||
|
||||
|
||||
app_name = "users"
|
||||
urlpatterns = [
|
||||
url(r'', include(views.drf_router.urls)),
|
||||
url(r'^login/$', login_user, name='login'),
|
||||
|
||||
Reference in New Issue
Block a user