Skip to content

Commit 3beef1d

Browse files
committed
Fix in include app_namespace for legace API
1 parent 708fb0a commit 3beef1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tigaserver_project/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
urlpatterns = [
3030
path('api/v1/', include(('api.urls', 'api'), namespace='v1')),
31-
path('api/', include(('tigaserver_app.urls', 'api'), namespace='legacy')),
31+
path('api/', include(('tigaserver_app.urls', 'tigaserver_app'), namespace='legacy')),
3232
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
3333
path('api-docs/', TemplateView.as_view(template_name='swagger.html',extra_context={'schema_url':'openapi-schema'}), name='swagger-ui'),
3434
]

0 commit comments

Comments
 (0)