Skip to content

Commit

Permalink
feat: add new migrations due to simple-history package upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 27, 2023
1 parent 9c9f2cd commit 96bb6b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.21 on 2023-09-27 12:41

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('subsidy', '0017_add_is_soft_deleted_subsidy'),
]

operations = [
migrations.AlterModelOptions(
name='historicalsubsidy',
options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical subsidy', 'verbose_name_plural': 'historical subsidys'},
),
]
3 changes: 3 additions & 0 deletions enterprise_subsidy/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,6 @@ def root(*path_fragments):
# per-view cache timeout settings
# We can disable caching on this view by setting the value below to 0.
CONTENT_METADATA_VIEW_CACHE_TIMEOUT_SECONDS = 60

# disable indexing on history_date
SIMPLE_HISTORY_DATE_INDEX = False

0 comments on commit 96bb6b5

Please sign in to comment.