lms.djangoapps.grades.config package#
Submodules#
lms.djangoapps.grades.config.models module#
Models for configuration of the feature flags controlling persistent grades.
- class lms.djangoapps.grades.config.models.ComputeGradesSetting(*args, **kwargs)#
Bases:
ConfigurationModel- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- batch_size#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- change_date#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- changed_by#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- changed_by_id#
- course_ids#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- enabled#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_change_date(*, field=<django.db.models.fields.DateTimeField: change_date>, is_next=True, **kwargs)#
- get_previous_by_change_date(*, field=<django.db.models.fields.DateTimeField: change_date>, is_next=False, **kwargs)#
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
lms.djangoapps.grades.config.waffle module#
This module contains various configuration settings via waffle switches for the Grades app.
- lms.djangoapps.grades.config.waffle.gradebook_bulk_management_enabled(course_key)#
Returns whether bulk management features should be specially enabled for a given course.
- lms.djangoapps.grades.config.waffle.is_writable_gradebook_enabled(course_key)#
Returns whether the writable gradebook app is enabled for the given course.