Skip to content

Commit 065e107

Browse files
committed
Add comment explaing the reporting standards type update migration
1 parent ee0ffdc commit 065e107

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

curate/migrations/0056_change_basic_4_retroactive_to_basic_47.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
def update_reporting_standard(apps, schema_editor):
7+
# Change any existing BASIC_4_7_RETROACTIVE articles to the new BASIC_4_7_RETROACTIVE
78
Article = apps.get_model('curate', 'Article')
89
for article in Article.objects.filter(reporting_standards_type='BASIC_4_RETROACTIVE'):
910
article.reporting_standards_type = 'BASIC_4_7_RETROACTIVE'

0 commit comments

Comments
 (0)