We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895544b commit 158e5e6Copy full SHA for 158e5e6
src/signal_documentation/urls.py
@@ -36,7 +36,7 @@
36
handler500 = InternalServerErrorView.as_view()
37
38
urlpatterns: list[URLResolver] = [
39
- path('admin/', admin.site.urls),
+ path(f'{settings.MAIN_PAGE}/admin/' if settings.MAIN_PAGE else 'admin/', admin.site.urls),
40
path('__debug__/', include('debug_toolbar.urls')),
41
path(f'{settings.MAIN_PAGE}/' if settings.MAIN_PAGE else '', include('signals.urls')),
42
]
0 commit comments