Open IsraelCohen54 opened 3 weeks ago
from django.urls import re_path, include from django.contrib import admin from .views import register urlpatterns = [
re_path(r'^register/', register),
]
... as well as changes to the url:
path('en/login/', auth_views.LoginView.as_view(template_name='registration/login.html'), name='login'), path('logout/', auth_views.LogoutView.as_view(), name='logout'), # Include django_login URLs for additional auth features path('', include('django_login.urls')),
at the end, it seems to run for me, problem is I don't see the login prompt currently
The url function in django.conf.urls has been deprecated in Django 4.0 and removed in Django 4.1. It’s now recommended to use path() and re_path() instead. To resolve, modify django_login.
from django.urls import re_path, include from django.contrib import admin from .views import register urlpatterns = [
]
... as well as changes to the url:
at the end, it seems to run for me, problem is I don't see the login prompt currently