urlpatterns = [ path('admin/', admin.site.urls), path('', MainPageView.as_view(), name='mainpage'), path('select_division', SelectDivisionView.as_view(), name='select_division'), path('signup/', SignUpView.as_view(), name='signup'), path('incumbent_signup/', IncumbentSignUpView.as_view(), name='incumbent_signup'), path('success_signup/', SuccessSignUpView.as_view(), name='success_signup'), path('account/activate/<str:uidb64>/<str:token>', ActivateView.as_view(), name='activate'), path('signin/', SignInView.as_view(), name='signin'), path('logout/', LogoutView.as_view(), name='logout'), path('mypage/<int:pk>/update', UpdateMypageView.as_view(), name='update_mypage'), path('mypage/<int:pk>/mypost', mypost, name='mypost'), # path('mypage/<int:pk>/update/nickname_update', NicknameUpdate(), name='nickname_update'), path('lotte_outer/<int:pk>', lotte_outer, name='lotte_outer'), path('index/<int:pk>', index, name='index'), path('create/<int:pk>', create, name='create'), # <int:pk> 회사 번호 path('detail/<int:pk>/<int:post_id>', detail, name="detail"), path('update/<int:pk>/<int:post_id>', update, name="update"), path('delete/<int:pk>/<int:post_id>', delete, name="delete"), path('create_comment/<int:pk>/<int:post_id>',
from django.urls import path from account.views import SignUpView, SignInView urlpatterns = [ path('signup/', SignUpView.as_view()), path('signin/', SignInView.as_view()), ]
from django.urls import path from account.views import SignInView, LogoutView, SignUpView urlpatterns = [ path('login/', SignInView.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout'), path('register/', SignUpView.as_view(), name='register'), # path('api/users/', user_list, name='user_list'), # path('api/users/<int:pk>/', user_detail, name='user_detail'), ] # from django.urls import path # from account.views import SignInView, LogoutView, SignUpView # from .api import registration_view # # app_name = "account" # # urlpatterns = [ # path('login/', SignInView.as_view(), name='login'), # path('logout/', LogoutView.as_view(), name='logout'), # # path('register/', registration_view, name='register'), # path('register/', SignUpView.as_view(), name='register'), # # path('api/users/', user_list, name='user_list'), # # path('api/users/<int:pk>/', user_detail, name='user_detail'), # # ]
from django.urls import path from account.views import SignUpView, SignInView, MyPage urlpatterns = [ path('/signup', SignUpView.as_view()), path('/signin', SignInView.as_view()), path('/mypage', MyPage.as_view()), ]