4f04223e08
Used customized AppConfig classes in openslides.core, openslides.account, openslides.projector, openslides.agenda, openslides.motion, openslides.assignment, openslides.users, openslides.mediafile, openslides.config. Refactored loading of signals, template signals and slides.
8 lines
314 B
Python
8 lines
314 B
Python
def add_assignment_stylesheets(sender, request, context, **kwargs):
|
|
"""
|
|
Receiver function to add the assignment.css to the context. It is
|
|
connected to the signal openslides.utils.signals.template_manipulation
|
|
during app loading.
|
|
"""
|
|
context['extra_stylefiles'].append('css/assignment.css')
|