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
AE UTBM
Sith
Commits
22151ef3
Commit
22151ef3
authored
Sep 01, 2017
by
Skia
🤘
Browse files
core: display news page in place of index for logged in users
Signed-off-by:
Skia
<
skia@libskia.so
>
parent
4edb9a78
Pipeline
#1193
passed with stage
in 8 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/views/site.py
View file @
22151ef3
...
...
@@ -38,6 +38,9 @@ from club.models import Club
def
index
(
request
,
context
=
None
):
if
request
.
user
.
is_authenticated
():
from
com.views
import
NewsListView
return
NewsListView
.
as_view
()(
request
)
return
render
(
request
,
"core/index.jinja"
)
...
...
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