79454942

Date: 2025-02-20 15:10:19
Score: 0.5
Natty:
Report link

It can be done with include()

urlpatterns = [
    path('forgot-password/', ForgotPasswordFormView.as_view()),
    path('api/', include((router.urls, 'app_name'))),
]

https://www.django-rest-framework.org/api-guide/routers/#using-include-with-routers

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Samus_