Commit 9416736b authored by Einar Uvsløkk's avatar Einar Uvsløkk
Browse files

Move users and comments url paths to secfit.urls

parent 9c3cde63
......@@ -21,6 +21,8 @@ from django.urls import path
urlpatterns = [
path("admin/", admin.site.urls),
path("", include("comments.urls")),
path("", include("users.urls")),
path("", include("workouts.urls")),
]
......
......@@ -42,8 +42,6 @@ urlpatterns = format_suffix_patterns(
views.WorkoutFileDetail.as_view(),
name="workoutfile-detail",
),
path("", include("users.urls")),
path("", include("comments.urls")),
path("api/auth/", include("rest_framework.urls")),
path("api/token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
path("api/token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment