Details
Description
https://sentry.io/organizations/the-sio2-project/issues/1210384154/?referrer=jira_plugin
{code}
TypeError: can't compare datetime.datetime to NoneType
File "oioioi/contests/views.py", line 106, in problems_list_view
], key=lambda p: (p[2].get_start(), p[2].get_end(), p[0].round.name,
File "oioioi/base/permissions.py", line 126, in _wrapped_view
return view_func(request, *args, **kwargs)
...
(1 additional frame(s) were not displayed)
TypeError: can't compare datetime.datetime to NoneType
{code}
{code}
TypeError: can't compare datetime.datetime to NoneType
File "oioioi/contests/views.py", line 106, in problems_list_view
], key=lambda p: (p[2].get_start(), p[2].get_end(), p[0].round.name,
File "oioioi/base/permissions.py", line 126, in _wrapped_view
return view_func(request, *args, **kwargs)
...
(1 additional frame(s) were not displayed)
TypeError: can't compare datetime.datetime to NoneType
{code}
https://gerrit.sio2project.mimuw.edu.pl/3356
SIO-2276Viewing problem list fails with HTTP 500 when round end time is NoneChange-Id: I6527d60996e0cd8692d219c4753f816ce3a82133