oioioi.contests.processors
¶
Module Contents¶
Functions¶
|
A template context processor which makes the current contest available |
|
|
|
- oioioi.contests.processors.register_current_contest(request)[source]¶
A template context processor which makes the current contest available to the templates.
The current
Contest
instance is added to the template context as acontest
variable.Must be used together with
CurrentContestMiddleware
.