diff options
author | 2022-11-05 10:49:03 +0100 | |
---|---|---|
committer | 2022-11-05 10:49:03 +0100 | |
commit | ec2a0de778ebd33ef0ee4c73bd1bd4b961ceea4c (patch) | |
tree | 3300784e4d4d9eefcc76b62d54dcf27ac7518ea5 /pydis_site/urls.py | |
parent | Merge pull request #790 from python-discord/mbaruh-bump-psql (diff) | |
parent | Merge branch 'main' into bot-tags (diff) |
Merge pull request #763 from python-discord/bot-tags
List Bot Tags On Site
Diffstat (limited to 'pydis_site/urls.py')
-rw-r--r-- | pydis_site/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/urls.py b/pydis_site/urls.py index 6cd31f26..0f2f6aeb 100644 --- a/pydis_site/urls.py +++ b/pydis_site/urls.py @@ -12,7 +12,7 @@ NON_STATIC_PATTERNS = [ path('pydis-api/', include('pydis_site.apps.api.urls', namespace='internal_api')), path('', include('django_prometheus.urls')), -] if not settings.env("STATIC_BUILD") else [] +] if not settings.STATIC_BUILD else [] urlpatterns = ( @@ -29,7 +29,7 @@ urlpatterns = ( ) -if not settings.env("STATIC_BUILD"): +if not settings.STATIC_BUILD: urlpatterns += ( path('staff/', include('pydis_site.apps.staff.urls', namespace='staff')), ) |