Skip to content

Commit

Permalink
Merge pull request #142 from ZdruzenieSTROM/fix-missing-object
Browse files Browse the repository at this point in the history
Fix missing object
  • Loading branch information
kovacspe authored Nov 16, 2024
2 parents 2e82fd9 + 666dc2d commit 423b7bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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
7 changes: 5 additions & 2 deletions mas_problem/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,8 @@ def read_secret(secret_name: str) -> str:
DEFAULT_FROM_EMAIL = '[email protected]'
SERVER_EMAIL = DEFAULT_FROM_EMAIL

ADMINS = [('Kovacs', '[email protected]'), ('Masrna',
'[email protected]'), ('Smilnak', '[email protected]')]
ADMINS = [
('Kovacs', '[email protected]'),
('Masrna','[email protected]'),
('Smilnak', '[email protected]')
]

0 comments on commit 423b7bd

Please sign in to comment.