Commit 22151ef3 authored by Skia's avatar Skia 🤘
Browse files

core: display news page in place of index for logged in users

Signed-off-by: Skia's avatarSkia <>
parent 4edb9a78
Pipeline #1193 passed with stage
in 8 minutes and 41 seconds
......@@ -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")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment