aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-19 00:46:39 +0400
committerGravatar Johannes Christ <[email protected]>2022-09-04 18:52:01 +0200
commitcb40babfb49fb3ec7e0a5c1ba4c68d3cce4df91a (patch)
tree59f8dfd2aa5c52da0197a4b1990306c10b51f92a /pydis_site/apps/api
parentFix grammar in contributing guide (#771) (diff)
Fix Django Deprecation Warnings
Removes a few features which were deprecated in django 4.0. Running with warnings enabled shows no other errors. USE_L10N was deprecated, and is now enabled by default. In future versions of django, it'll be impossible to turn localization off. Explicitly defining the custom_app_config for the API app is no longer necessary as django can pick it up on its own. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/apps/api')
-rw-r--r--pydis_site/apps/api/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pydis_site/apps/api/__init__.py b/pydis_site/apps/api/__init__.py
index afa5b4d5..e69de29b 100644
--- a/pydis_site/apps/api/__init__.py
+++ b/pydis_site/apps/api/__init__.py
@@ -1 +0,0 @@
-default_app_config = 'pydis_site.apps.api.apps.ApiConfig'