diff options
author | 2019-10-20 18:05:33 +0100 | |
---|---|---|
committer | 2019-10-20 18:05:33 +0100 | |
commit | 3caa7675f9c5c33b6a8e91c633945d5152383a76 (patch) | |
tree | 83861cec2808fbdbf87efd68083c6d80137151d5 /pydis_site/__init__.py | |
parent | Signals: 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__.py | 5 |
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 = [] |