app/django/core/signals.py
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 13 Jul 2009 00:59:11 +0200
changeset 2617 274efd5c769d
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added methods to GradingRecord Logic to facilitate creating/updating them. UpdateOrCreateRecordsFor will batch put GradingRecords for a given SurveyGroup and StudentProject. getFieldsForGradingRecord will return the fields that need to be set for a single GradingRecord entity given a StudentProject, GradingSurveyGroup and if it is an update a GradingRecord entity.

from django.dispatch import Signal

request_started = Signal()
request_finished = Signal()
got_request_exception = Signal(providing_args=["request"])