aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/urls.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2022-11-20 13:58:26 -0800
committerGravatar GitHub <[email protected]>2022-11-20 13:58:26 -0800
commitf4311d6a1074ba3f34ef0cbba087e6ad06ce8602 (patch)
tree7d6a6588e3afb7216468c9114f91aee851ba6c07 /pydis_site/urls.py
parentAppeased the formatter (diff)
parentMerge pull request #789 from python-discord/messages-in-past-n-days-endpoint (diff)
Merge branch 'main' into keeping-tokens-safe
Diffstat (limited to 'pydis_site/urls.py')
-rw-r--r--pydis_site/urls.py4
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')),
)