aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/__init__.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-10-20 18:05:33 +0100
committerGravatar Gareth Coles <[email protected]>2019-10-20 18:05:33 +0100
commit3caa7675f9c5c33b6a8e91c633945d5152383a76 (patch)
tree83861cec2808fbdbf87efd68083c6d80137151d5 /pydis_site/__init__.py
parentSignals: Complete coverage in tests (diff)
Update Django users with Discord username+discrim.
This sets both the Django User's `username` and `first_name` params.
Diffstat (limited to 'pydis_site/__init__.py')
-rw-r--r--pydis_site/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/__init__.py b/pydis_site/__init__.py
index c6146450..df67cf71 100644
--- a/pydis_site/__init__.py
+++ b/pydis_site/__init__.py
@@ -2,3 +2,8 @@ from wiki.plugins.macros.mdx import toc
# Remove the toc header prefix. There's no option for this, so we gotta monkey patch it.
toc.HEADER_ID_PREFIX = ''
+
+# Empty list of validators for Allauth to ponder over. This is referred to in settings.py
+# by a string because Allauth won't let us just give it a list _there_, we have to point
+# at a list _somewhere else_ instead.
+VALIDATORS = []