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: (
|
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_conns = []
|
||||||
new_mails = []
|
new_mails = []
|
||||||
|
|
||||||
|
|
|
@ -39,8 +39,6 @@ INSTALLED_APPS = [
|
||||||
#'allauth.account', # apply migration
|
#'allauth.account', # apply migration
|
||||||
#'allauth.socialaccount', # Allauth -> AuthENS
|
#'allauth.socialaccount', # Allauth -> AuthENS
|
||||||
|
|
||||||
'widget_tweaks',
|
|
||||||
|
|
||||||
'simple_email_confirmation',
|
'simple_email_confirmation',
|
||||||
'authens',
|
'authens',
|
||||||
'tastypie',
|
'tastypie',
|
||||||
|
@ -124,8 +122,8 @@ AUTHENS_USE_OLDCAS = False
|
||||||
|
|
||||||
LOGIN_URL = reverse_lazy('authens:login')
|
LOGIN_URL = reverse_lazy('authens:login')
|
||||||
LOGOUT_URL = reverse_lazy('authens:logout')
|
LOGOUT_URL = reverse_lazy('authens:logout')
|
||||||
LOGIN_REDIRECT_URL = "/perso/"#reverse_lazy('avisstage:perso')
|
LOGIN_REDIRECT_URL = reverse_lazy('avisstage:perso')
|
||||||
LOGOUT_REDIRECT_URL = "/"
|
LOGOUT_REDIRECT_URL = reverse_lazy('avisstage:index')
|
||||||
|
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
'version': 1,
|
'version': 1,
|
||||||
|
|
|
@ -8,5 +8,4 @@ django-tastypie==0.14.*
|
||||||
lxml==4.6.*
|
lxml==4.6.*
|
||||||
django-elasticsearch-dsl==7.1.*
|
django-elasticsearch-dsl==7.1.*
|
||||||
authens
|
authens
|
||||||
gdal
|
|
||||||
django-simple-email-confirmation==0.*
|
django-simple-email-confirmation==0.*
|
||||||
|
|
Loading…
Reference in a new issue