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.
MAIN_PAGE
2 parents d8d9366 + 884c233 commit 671682bCopy full SHA for 671682b
src/signal_documentation/urls.py
@@ -38,7 +38,7 @@
38
urlpatterns: list[URLResolver] = [
39
path('admin/', admin.site.urls),
40
path('__debug__/', include('debug_toolbar.urls')),
41
- path(f'{settings.MAIN_PAGE}/', include('signals.urls')),
+ path(f'{settings.MAIN_PAGE}/' if settings.MAIN_PAGE else '', include('signals.urls')),
42
]
43
44
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) # type: ignore
0 commit comments