Projet

Général

Profil

« Précédent | Suivant » 

Révision f4843b93

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 9 ans

statics and theme management (#7070)

Templates and statics upload to organization dir

Voir les différences:

uauth/settings.py
54 54
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
55 55
)
56 56

  
57
TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + ('django.core.context_processors.request',)
57
TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + \
58
                              ('django.core.context_processors.request',
59
                               'uauth.context_processors.theme_base',)
58 60

  
59 61
ROOT_URLCONF = 'uauth.urls'
60 62

  
......
97 99
    'dn': 'ou=radius,dc=entrouvert,dc=org',
98 100
}
99 101

  
102
ORGANIZATIONS_DIR = os.path.join(BASE_DIR, 'organizations')
103

  
100 104
AUTHENTICATION_BACKENDS = global_settings.AUTHENTICATION_BACKENDS + (
101 105
    'mellon.backends.SAMLBackend',
102 106
    'uauth.backends.LocalAccountPasswordBackend',

Formats disponibles : Unified diff