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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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):
try
:
sem
=
Semester
.
get_current
()
attended
=
request
.
META
[
'
HTTP_NIIFEDUPERSONATTENDEDCOURSE
'
]
attended
=
request
.
META
[
'
niifEduPersonAttendedCourse
'
]
if
attended
==
''
:
attended
=
[]
else
:
...
...
@@ -78,7 +78,7 @@ def login(request):
except
ValidationError
as
e
:
logger
.
warning
(
"Django ex4
%
s"
%
e
)
held
=
request
.
META
[
'
HTTP_NIIFEDUPERSONHELDCOURSE
'
]
held
=
request
.
META
[
'
niifEduPersonHeldCourse
'
]
if
held
==
''
:
held
=
[]
else
:
...
...
@@ -168,7 +168,7 @@ def group_show(request, gid):
if
t
.
myshares
.
exists
():
noshare
=
False
publictemplates
[
i
]
=
t
return
render_to_response
(
"show-group.html"
,
RequestContext
(
request
,{
return
render_to_response
(
"show-group.html"
,
RequestContext
(
request
,
{
'group'
:
group
,
'members'
:
group
.
members
.
all
(),
'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