Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Lohff 1f93f9e7bd Dynamically find currently active Contest
Previously we had a lot of hardcoded contest information in the
templates. Name, ruleset and number of contest are now all taken from
the currently active contest and rendered into the templates. Instead of
an URL containing the current contest name, we just use a generic
/contest/. The API will no longer use "the contest with id=1", but the
currently active contest as well.

The currently active contest is - for now - the contest with the latest
deadline.
2022-01-22 19:22:52 +01:00
Sebastian Lohff 933a337eac Fix url config for Django4
url() is no longer available, has to be replaced with path() or
re_path(). For proper include() we also need an app_name specified in
the urls.py we're including.
2022-01-22 17:35:57 +01:00
Sebastian Lohff e5465632b4 Pep8 fixes
Reformat codebase a bit so it is easier to work with.
2022-01-22 17:35:57 +01:00
Sebastian Lohff b528d4dbb4 Add REST API to webinterface 2022-01-22 17:27:39 +01:00
Sebastian Lohff ba9c99e0ce Move to consistent use of spaces instead of tabs
Required for python3 transition
2022-01-22 17:27:39 +01:00
Sebastian Lohff df02a28776 Interface rebrand CQTU FM 2019! 2019-01-22 21:48:09 +01:00
Sebastian Lohff bb969c7ee0 Renamed all the contest urls 2017-01-25 01:53:49 +01:00
Sebastian Lohff d995feaad2 Profile page + password changing 2017-01-22 22:55:21 +01:00
Sebastian Lohff ad8eeeb955 Direct login after registration 2017-01-21 03:16:27 +01:00
Sebastian Lohff ee05f845cb EEEVERYTHING! 2017-01-19 18:42:11 +01:00
Sebastian Lohff d20b8754ba Initial commit 2017-01-18 02:25:12 +01:00