aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/urls.py
diff options
context:
space:
mode:
authorGravatar Rohan Reddy Alleti <[email protected]>2023-05-14 23:54:51 +0530
committerGravatar GitHub <[email protected]>2023-05-14 23:54:51 +0530
commita241a397f966a4265935dfd5c92a84fdf95c52c8 (patch)
tree83f6eb572e26e64e6ca18642013abf60f1b23d8b /pydis_site/urls.py
parentUpdate pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md (diff)
parentMerge pull request #972 from python-discord/fix-psycopg3-compatibility-in-met... (diff)
Merge branch 'main' into subclassing_bot
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')),
)