Skip to content

Commit

Permalink
feat: add new migrations with simple-history package
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 27, 2023
1 parent 93f7369 commit c7b82e4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions edx_exams/apps/core/migrations/0019_auto_20230927_1552.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.21 on 2023-09-27 15:52

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('core', '0018_staff_roles'),
]

operations = [
migrations.AlterModelOptions(
name='historicalexam',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical exam', 'verbose_name_plural': 'historical exams'},
),
migrations.AlterModelOptions(
name='historicalexamattempt',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical exam attempt', 'verbose_name_plural': 'historical exam attempts'},
),
]
3 changes: 3 additions & 0 deletions edx_exams/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,6 @@ def root(*path_fragments):
LEARNING_MICROFRONTEND_URL = None

EXAMS_DASHBOARD_MFE_URL = None

# disable indexing on history_date
SIMPLE_HISTORY_DATE_INDEX = False

0 comments on commit c7b82e4

Please sign in to comment.