Skip to content

Commit

Permalink
Fix missing object on UserNotRegisteredToGameView
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Nov 16, 2024
1 parent 0ba5b7b commit 666dc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competition/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def get(self, request, *args, **kwargs):

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['game'] = self.object
context['game'] = Game.get_current()
return context

def form_valid(self, form):
Expand Down

0 comments on commit 666dc2d

Please sign in to comment.