Reformatage #29

Closed
thubrecht wants to merge 19 commits from thubrecht/python3 into master
3 changed files with 3 additions and 6 deletions
Showing only changes of commit 778c4cde72 - Show all commits

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

@ -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,

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.*