Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Valentin Samir
django-cas-server
Commits
8a4a4a83
Commit
8a4a4a83
authored
Jul 20, 2016
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Codacy warning about constant names
parent
004e76f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cas_server/default_settings.py
cas_server/default_settings.py
+2
-2
No files found.
cas_server/default_settings.py
View file @
8a4a4a83
...
...
@@ -132,8 +132,8 @@ CAS_FEDERATE = False
#: Time after witch the cookie use for “remember my identity provider” expire (one week).
CAS_FEDERATE_REMEMBER_TIMEOUT
=
604800
current_global
=
globals
().
copy
()
for
name
,
default_value
in
current_global
.
items
():
GLOBALS
=
globals
().
copy
()
for
name
,
default_value
in
GLOBALS
.
items
():
# get the current setting value, falling back to default_value
value
=
getattr
(
settings
,
name
,
default_value
)
# set the setting value to its value if defined, ellse to the default_value.
...
...
Write
Preview
Markdown
is supported
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