diff options
author | 2022-11-20 13:36:37 +0000 | |
---|---|---|
committer | 2022-11-20 13:36:37 +0000 | |
commit | 7b49952105a808b866625b4fee5a2b4edecfeb6e (patch) | |
tree | d29cb4ab470e0d23f64e6b478b2e68ba6eea94aa /pydis_site/urls.py | |
parent | Include users with no messages in response, and simplify response format (diff) | |
parent | Merge pull request #798 from python-discord/fix-manage-py-no-args (diff) |
Merge branch 'main' into messages-in-past-n-days-endpoint
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')), ) |