This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
19 lines
384 B
Python
19 lines
384 B
Python
"""
|
|
Models for configuration of settings relevant
|
|
to instructor tasks.
|
|
"""
|
|
|
|
|
|
from config_models.models import ConfigurationModel
|
|
from django.db.models import IntegerField
|
|
|
|
|
|
class GradeReportSetting(ConfigurationModel):
|
|
"""
|
|
Sets the batch size used when running grade reports
|
|
with multiple celery workers.
|
|
|
|
.. no_pii:
|
|
"""
|
|
batch_size = IntegerField(default=100)
|