diff options
author | 2023-01-27 22:22:06 +0200 | |
---|---|---|
committer | 2023-01-27 22:57:51 +0200 | |
commit | 963d9368b8e07d8aab04662f27bf47087f5b574c (patch) | |
tree | 72ea3b5e60babe27b169b8816a4d39853d180742 /pydis_site/urls.py | |
parent | Update tests (diff) | |
parent | Merge pull request #860 from python-discord/official-tutorial-resource (diff) |
Merge branch 'main' into new-filter-schema
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')), ) |