Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
4a53d3dd
Commit
4a53d3dd
authored
Aug 03, 2015
by
Julien Furrer
Browse files
Ajouté support pour django_trap
parent
855407de
Changes
3
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_project/settings/base.py
View file @
4a53d3dd
...
@@ -254,7 +254,6 @@ AAI = {
...
@@ -254,7 +254,6 @@ AAI = {
}
}
# ATTP = {
# ATTP = {
# 'OPTIONS': {
# 'OPTIONS': {
# 'CACHE_TIMEOUT': <the time in sec the ttp authorization result is kept in cache>
# 'CACHE_TIMEOUT': <the time in sec the ttp authorization result is kept in cache>
...
...
adim_project/adim_project/settings/local.py
View file @
4a53d3dd
...
@@ -30,3 +30,6 @@ SENDFILE_BACKEND = 'sendfile.backends.development'
...
@@ -30,3 +30,6 @@ SENDFILE_BACKEND = 'sendfile.backends.development'
ADIM_PROD
=
False
ADIM_PROD
=
False
ADIM_DEBUG_JS
=
True
ADIM_DEBUG_JS
=
True
INSTALLED_APPS
+=
(
'django_trap'
,
)
DJANGO_TRAP_STORE_PW
=
False
adim_project/adim_project/urls.py
View file @
4a53d3dd
...
@@ -10,6 +10,8 @@ urlpatterns = [
...
@@ -10,6 +10,8 @@ urlpatterns = [
# url(r'^blog/', include('blog.urls')),
# url(r'^blog/', include('blog.urls')),
url
(
r
'^admin/'
,
include
(
admin
.
site
.
urls
)),
url
(
r
'^admin/'
,
include
(
admin
.
site
.
urls
)),
# url(r'^admin/', include('django_trap.urls', namespace='django_trap')),
# url(r'^s-412-5/admin/', include(admin.site.urls)),
url
(
r
'^shibauth/'
,
include
(
'shibauth.urls'
)),
url
(
r
'^shibauth/'
,
include
(
'shibauth.urls'
)),
url
(
r
'^accounts/login/$'
,
'django.contrib.auth.views.login'
,
{
'template_name'
:
"adim/home.html"
}),
url
(
r
'^accounts/login/$'
,
'django.contrib.auth.views.login'
,
{
'template_name'
:
"adim/home.html"
}),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment