[FC-005] feat: add necessary models for Openedx survey report (#31183)
* 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>
This commit is contained in:
committed by
GitHub
parent
f419d6b194
commit
bfd212b6d8
12
openedx/features/survey_report/apps.py
Normal file
12
openedx/features/survey_report/apps.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""
|
||||
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'
|
||||
Reference in New Issue
Block a user