Skip to content

Commit

Permalink
Merge pull request #1099 from uktrade/feature/KLS-736-Remove-Export-R…
Browse files Browse the repository at this point in the history
…eadiness-Models-2

Delete Export Readiness Models
  • Loading branch information
davidu1975 authored Jun 15, 2023
2 parents 158346d + 2d861b5 commit 5c59b1f
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 65 deletions.
2 changes: 1 addition & 1 deletion conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
'storages',
'rest_framework',
'wagtailmedia',
'export_readiness.apps.GreatDomesticConfig',
'great_international.apps.GreatInternationalConfig',
'components.apps.ComponentsConfig',
'export_readiness.apps.GreatDomesticConfig',
'django_filters',
'authbroker_client',
'django_celery_beat',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Generated by Django 4.1.9 on 2023-06-14 22:30

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('great_international', '0160_auto_20230505_1933'),
('export_readiness', '0081_auto_20211124_1053'),
('core', '0032_auto_20230614_0954'),
('great_international', '0161_alter_internationalarticlelistingpage_tags_and_more'),


]

operations = [
migrations.RemoveField(
model_name='country',
name='region',
),
migrations.RemoveField(
model_name='industrytag',
name='icon',
),
migrations.DeleteModel(
name='Tag',
),
migrations.DeleteModel(
name='Country',
),
migrations.DeleteModel(
name='IndustryTag',
),
migrations.DeleteModel(
name='Region',
),
]
64 changes: 0 additions & 64 deletions export_readiness/snippets.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Generated by Django 4.1.9 on 2023-06-14 22:30

from django.db import migrations
import modelcluster.fields


class Migration(migrations.Migration):

dependencies = [
('core', '0032_auto_20230614_0954'),
('great_international', '0160_auto_20230505_1933'),
]

operations = [
migrations.AlterField(
model_name='internationalarticlelistingpage',
name='tags',
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='core.tag'),
),
migrations.AlterField(
model_name='internationalarticlepage',
name='tags',
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='core.tag'),
),
migrations.AlterField(
model_name='internationalcampaignpage',
name='tags',
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='core.tag'),
),
migrations.AlterField(
model_name='internationalinvestmentsectorpage',
name='tags',
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='core.tag'),
),
migrations.AlterField(
model_name='internationaltopiclandingpage',
name='tags',
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='core.tag'),
),
]

0 comments on commit 5c59b1f

Please sign in to comment.