Commit c8cadd82 authored by Lukas Burgey's avatar Lukas Burgey

Fix some redirects

parent e72c3a00
......@@ -173,7 +173,7 @@ def flush_cache(request):
if request.user.is_staff:
cache.invalidate_caches()
return redirect('playerstats')
return redirect('eventstats')
@login_required
def create_player(request):
......@@ -243,7 +243,7 @@ def select_iteration(request):
it = models.Iteration.objects.get(name=it_name)
request.user.player.current_it = it
request.user.player.save()
return redirect('playerstats')
return redirect('eventstats')
else:
context['user_message'] = "Invalid form data"
......
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