from django.contrib.auth.views import LogoutView from django.urls import path, include from account.views import RegistrationView, ActivationView, SigninView, SuccessfulRegistrationView from .views import * urlpatterns = [ path('register/', RegistrationView.as_view(), name='registration'), path('successful_registration/', SuccessfulRegistrationView.as_view(), name='successful-registration'), path('activation/', ActivationView.as_view(), name='activation'), path('login/', SigninView.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout'), path('profile/<str:pk>/', DetailUserView.as_view(), name='profile'), path('ckeditor/', include('ckeditor_uploader.urls')), ]
from django.contrib.auth.views import LogoutView from django.urls import path from account.views import RegistrationView, ActivationView, SigninView, SuccessfulRegistrationView urlpatterns = [ path('register/', RegistrationView.as_view(), name='registration'), path('successful_registration/', SuccessfulRegistrationView.as_view(), name='successful-registration'), path('activation/', ActivationView.as_view(), name='activation'), path('login/', SigninView.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout'), ]