This commit is contained in:
+1
-3
@@ -16,7 +16,6 @@ Including another URLconf
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path, reverse
|
||||
from django.views.generic.base import RedirectView
|
||||
from rest_framework import routers, schemas
|
||||
|
||||
import auth.urls
|
||||
import watchlist.urls
|
||||
@@ -26,11 +25,10 @@ urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('auth/', include(auth.urls)),
|
||||
path('watchlist/', include(watchlist.urls)),
|
||||
# path('api/watchlist/', include(watchlist.urls.api_router.urls)),
|
||||
# path('openapi', schemas.get_schema_view(
|
||||
# title="Movieclub",
|
||||
# description="",
|
||||
# version="0.1.0"
|
||||
# )),
|
||||
# path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
|
||||
path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user