* feat: add survey_report djangoapp * feat: add survey report cli command and query methods * fix: add init file * refactor: change model fields * refactor: rename application file and rename methods * refactor: add is_active to get course enrollments * refactor: rename method to get active users * refactor: remove fields useless * test: rename mocks in command tests * test: update test name * docs: add README file * docs: add selection criteria to get unique courses * docs: update README * test: remove useless mocks and use default modulestore * docs: change command error message * docs: add docs decisions * docs: Update openedx/features/survey_report/management/commands/generate_report.py * docs: add fields descriptions * docs: add logs for each query * style: add blank lines * refactor: rename variables and add a constant for weeks * refactor: add constant MIN_ENROLLS_ACTIVE_COURSE Co-authored-by: henrrypg <henrry.pulgarin@edunext.co> Co-authored-by: David Ormsbee <dave@tcril.org> Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
13 lines
283 B
Python
13 lines
283 B
Python
"""
|
|
Survey Report App Configuration.
|
|
"""
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class SurveyReportConfig(AppConfig):
|
|
"""
|
|
Configuration for the survey report Django app.
|
|
"""
|
|
default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'openedx.features.survey_report'
|