Merge branch 'master' of https://git.fet.at/bofh/fet2020
This commit is contained in:
@@ -16,7 +16,7 @@ def authenticated_user(view_func):
|
||||
if request.user.is_authenticated:
|
||||
return view_func(request, *args, **kwargs)
|
||||
else:
|
||||
return redirect("login")
|
||||
return redirect("authentications:login")
|
||||
|
||||
return wrapper_func
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if members %}
|
||||
{% get_flatpages '/fachschaft/' as pages %}
|
||||
{% if pages %}
|
||||
<li class="internalLI">
|
||||
@@ -80,6 +81,7 @@
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if member %}
|
||||
<li class="internalLI">
|
||||
|
||||
Reference in New Issue
Block a user