diff options
author | 2022-12-04 13:19:08 +0300 | |
---|---|---|
committer | 2022-12-04 13:19:08 +0300 | |
commit | 92a9669ee06ea6341082aaceb6f2d2ad5585d007 (patch) | |
tree | f45b37e10e0e59822a795d5a9a2e0bc403501a23 /pydis_site/urls.py | |
parent | Update pydis_site/apps/content/resources/guides/python-guides/docker-hosting-... (diff) | |
parent | Rename vps_services.md to vps-services.md (#808) (diff) |
Merge branch 'python-discord:main' into main
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')), ) |