Skip to content

Commit a92c2b4

Browse files
committed
Updated migration numbering to avoid collisions.
- Legacy-Id: 13480
1 parent 76628be commit a92c2b4

10 files changed

Lines changed: 15 additions & 14 deletions

ietf/doc/migrations/0026_author_revamp_and_extra_attributes.py renamed to ietf/doc/migrations/0030_author_revamp_and_extra_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('name', '0019_formallanguagename'),
11-
('doc', '0025_auto_20170307_0146'),
10+
('name', '0020_formallanguagename'),
11+
('doc', '0029_update_rfc_authors'),
1212
]
1313

1414
operations = [

ietf/doc/migrations/0027_remove_fake_email_adresses.py renamed to ietf/doc/migrations/0031_remove_fake_email_adresses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def fix_invalid_emails(apps, schema_editor):
4848
class Migration(migrations.Migration):
4949

5050
dependencies = [
51-
('doc', '0026_author_revamp_and_extra_attributes'),
51+
('doc', '0030_author_revamp_and_extra_attributes'),
5252
('person', '0014_auto_20160613_0751'),
5353
('group', '0009_auto_20150930_0758'),
5454
]

ietf/doc/tests_downref.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
from ietf.utils.test_utils import login_testing_unauthorized, unicontent
1414

1515
class Downref(TestCase):
16+
17+
def setUp(self):
18+
make_test_data()
19+
make_downref_test_data()
20+
1621
def test_downref_registry(self):
1722
url = urlreverse('ietf.doc.views_downref.downref_registry')
1823

@@ -103,7 +108,3 @@ def test_downref_registry_add(self):
103108
self.assertTrue(RelatedDocument.objects.filter(source=draft, target=rfc, relationship_id='downref-approval'))
104109
self.assertEqual(draft.docevent_set.count(), draft_de_count_before + 1)
105110
self.assertEqual(rfc.document.docevent_set.count(), rfc_de_count_before + 1)
106-
107-
def setUp(self):
108-
make_test_data()
109-
make_downref_test_data()

ietf/name/migrations/0019_formallanguagename.py renamed to ietf/name/migrations/0020_formallanguagename.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('name', '0018_iab_programs'),
10+
('name', '0019_add_docrelationshipname_downref_approval'),
1111
]
1212

1313
operations = [

ietf/name/migrations/0020_add_formlang_names.py renamed to ietf/name/migrations/0021_add_formlang_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def insert_initial_formal_language_names(apps, schema_editor):
1515
class Migration(migrations.Migration):
1616

1717
dependencies = [
18-
('name', '0019_formallanguagename'),
18+
('name', '0020_formallanguagename'),
1919
]
2020

2121
operations = [

ietf/name/migrations/0021_continentname_countryname.py renamed to ietf/name/migrations/0022_continentname_countryname.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('name', '0020_add_formlang_names'),
10+
('name', '0021_add_formlang_names'),
1111
]
1212

1313
operations = [

ietf/name/migrations/0022_add_country_continent_names.py renamed to ietf/name/migrations/0023_add_country_continent_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def insert_initial_country_continent_names(apps, schema_editor):
267267
class Migration(migrations.Migration):
268268

269269
dependencies = [
270-
('name', '0021_continentname_countryname'),
270+
('name', '0022_continentname_countryname'),
271271
]
272272

273273
operations = [

ietf/stats/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('name', '0022_add_country_continent_names'),
10+
('name', '0023_add_country_continent_names'),
1111
]
1212

1313
operations = [

ietf/submit/migrations/0019_add_formal_languages_and_words.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class Migration(migrations.Migration):
88

99
dependencies = [
10-
('name', '0020_add_formlang_names'),
10+
('name', '0021_add_formlang_names'),
1111
('submit', '0018_fix_more_bad_submission_docevents'),
1212
]
1313

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ tqdm>=3.7.0
4747
Trac>=1.0.10,<1.2
4848
Unidecode>=0.4.18
4949
#wsgiref>=0.1.2
50-
xml2rfc>=2.6.
50+
xml2rfc>=2.6.0
5151
xym>=0.1.2,!=0.3
5252
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation
5353

0 commit comments

Comments
 (0)