Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a0658ef3
authored
Jun 11, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
school: switch HTTP header refs to their more readable form
parent
bcd703b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
school/views.py
+3
-3
No files found.
school/views.py
View file @
a0658ef3
...
@@ -54,7 +54,7 @@ def login(request):
...
@@ -54,7 +54,7 @@ def login(request):
try
:
try
:
sem
=
Semester
.
get_current
()
sem
=
Semester
.
get_current
()
attended
=
request
.
META
[
'
HTTP_NIIFEDUPERSONATTENDEDCOURSE
'
]
attended
=
request
.
META
[
'
niifEduPersonAttendedCourse
'
]
if
attended
==
''
:
if
attended
==
''
:
attended
=
[]
attended
=
[]
else
:
else
:
...
@@ -78,7 +78,7 @@ def login(request):
...
@@ -78,7 +78,7 @@ def login(request):
except
ValidationError
as
e
:
except
ValidationError
as
e
:
logger
.
warning
(
"Django ex4
%
s"
%
e
)
logger
.
warning
(
"Django ex4
%
s"
%
e
)
held
=
request
.
META
[
'
HTTP_NIIFEDUPERSONHELDCOURSE
'
]
held
=
request
.
META
[
'
niifEduPersonHeldCourse
'
]
if
held
==
''
:
if
held
==
''
:
held
=
[]
held
=
[]
else
:
else
:
...
@@ -168,7 +168,7 @@ def group_show(request, gid):
...
@@ -168,7 +168,7 @@ def group_show(request, gid):
if
t
.
myshares
.
exists
():
if
t
.
myshares
.
exists
():
noshare
=
False
noshare
=
False
publictemplates
[
i
]
=
t
publictemplates
[
i
]
=
t
return
render_to_response
(
"show-group.html"
,
RequestContext
(
request
,{
return
render_to_response
(
"show-group.html"
,
RequestContext
(
request
,
{
'group'
:
group
,
'group'
:
group
,
'members'
:
group
.
members
.
all
(),
'members'
:
group
.
members
.
all
(),
'mytemplates'
:
mytemplates
,
'mytemplates'
:
mytemplates
,
...
...
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