Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8874a9b2
authored
Feb 08, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
school: dummy group page added
parent
95b6ba08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
school/views.py
+5
-0
No files found.
school/views.py
View file @
8874a9b2
...
@@ -23,6 +23,7 @@ from one.models import *
...
@@ -23,6 +23,7 @@ from one.models import *
from
school.models
import
*
from
school.models
import
*
import
django.contrib.auth
as
auth
import
django.contrib.auth
as
auth
import
logging
import
logging
import
json
from
django.views.decorators.csrf
import
ensure_csrf_cookie
from
django.views.decorators.csrf
import
ensure_csrf_cookie
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
@@ -135,3 +136,7 @@ def language(request, lang):
...
@@ -135,3 +136,7 @@ def language(request, lang):
r
.
set_cookie
(
cname
,
lang
,
10
*
365
*
24
*
3600
)
r
.
set_cookie
(
cname
,
lang
,
10
*
365
*
24
*
3600
)
return
r
return
r
def
group_show
(
request
,
gid
):
user
=
request
.
user
group
=
get_object_or_404
(
Group
,
id
=
gid
)
return
'majd lesz valami!'
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