diff options
author | Magnus Hagander | 2020-08-11 11:14:55 +0000 |
---|---|---|
committer | Magnus Hagander | 2020-08-11 12:04:24 +0000 |
commit | 952b85ea8fb018acd84c973861ba71b52209d3b1 (patch) | |
tree | 5c0303cd52f52151bc396e80829f6862f93eff99 /pgcommitfest/commitfest/apps.py | |
parent | 86725ca155503df9e88482fd8f8eb690c3eadc23 (diff) |
Move handling of secondary email addresses upstream
Since the upstream main website now handles secondary email addresses,
centralize the handling to there. This removes the local handling
completely, except that we store them in the database. The new
push-changes API ensures that they are kept in sync with upstream.
Diffstat (limited to 'pgcommitfest/commitfest/apps.py')
-rw-r--r-- | pgcommitfest/commitfest/apps.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/apps.py b/pgcommitfest/commitfest/apps.py new file mode 100644 index 0000000..e47efed --- /dev/null +++ b/pgcommitfest/commitfest/apps.py @@ -0,0 +1,11 @@ +from django.apps import AppConfig + + +class CFAppConfig(AppConfig): + name = 'pgcommitfest.commitfest' + + def ready(self): + from pgcommitfest.auth import auth_user_data_received + from pgcommitfest.userprofile.util import handle_user_data + + auth_user_data_received.connect(handle_user_data) |