Reformatage #29
3 changed files with 3 additions and 6 deletions
|
@ -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 = []
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@ INSTALLED_APPS = [
|
|||
#'allauth.account', # apply migration
|
||||
#'allauth.socialaccount', # Allauth -> AuthENS
|
||||
|
||||
'widget_tweaks',
|
||||
|
||||
'simple_email_confirmation',
|
||||
'authens',
|
||||
'tastypie',
|
||||
|
@ -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,
|
||||
|
|
|
@ -8,5 +8,4 @@ django-tastypie==0.14.*
|
|||
lxml==4.6.*
|
||||
django-elasticsearch-dsl==7.1.*
|
||||
authens
|
||||
gdal
|
||||
django-simple-email-confirmation==0.*
|
||||
|
|
Loading…
Reference in a new issue