Remarques Tom

This commit is contained in:
Robin Champenois 2021-02-06 18:55:52 +01:00
parent de47d9033a
commit 778c4cde72
3 changed files with 3 additions and 6 deletions

View file

@ -47,7 +47,7 @@ def forwards(apps, schema_editor):
)
is_ens_mail = lambda mail: (
mail is not None and (mail.endswith(".ens.fr") or mail.endswith(".ens.psl.eu")))
mail is not None and (mail.endswith("ens.fr") or mail.endswith("ens.psl.eu")))
new_conns = []
new_mails = []

View file

@ -38,8 +38,6 @@ INSTALLED_APPS = [
#'allauth', # Uncomment that part when you
#'allauth.account', # apply migration
#'allauth.socialaccount', # Allauth -> AuthENS
'widget_tweaks',
'simple_email_confirmation',
'authens',
@ -124,8 +122,8 @@ AUTHENS_USE_OLDCAS = False
LOGIN_URL = reverse_lazy('authens:login')
LOGOUT_URL = reverse_lazy('authens:logout')
LOGIN_REDIRECT_URL = "/perso/"#reverse_lazy('avisstage:perso')
LOGOUT_REDIRECT_URL = "/"
LOGIN_REDIRECT_URL = reverse_lazy('avisstage:perso')
LOGOUT_REDIRECT_URL = reverse_lazy('avisstage:index')
LOGGING = {
'version': 1,

View file

@ -8,5 +8,4 @@ django-tastypie==0.14.*
lxml==4.6.*
django-elasticsearch-dsl==7.1.*
authens
gdal
django-simple-email-confirmation==0.*