home app and home view and some verbose name
This commit is contained in:
@@ -6,7 +6,7 @@ from django.conf import settings
|
||||
from rest_framework_simplejwt.views import TokenObtainPairView,TokenRefreshView
|
||||
from product import views
|
||||
from account.views import CustomTokenObtainPairView
|
||||
|
||||
from home.views import HomeView
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
@@ -14,7 +14,7 @@ urlpatterns = [
|
||||
# path('auth/', include('djoser.urls')),
|
||||
# path('auth/', include('djoser.urls.jwt')),
|
||||
|
||||
|
||||
path('home', HomeView.as_view()),
|
||||
path('token/', CustomTokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
Reference in New Issue
Block a user