From 5e2f332808a680104d94afb5812e47cbc6dfcc1f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 27 Oct 2015 03:38:51 +0000 Subject: Reimplement rpki.gui.models.IPAddressField as a subclass of CharField for portability. With this change, the GUI appears to work with SQLite3. svn path=/branches/tk705/; revision=6155 --- rpki/gui/app/migrations/0001_initial.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rpki/gui/app/migrations/0001_initial.py') diff --git a/rpki/gui/app/migrations/0001_initial.py b/rpki/gui/app/migrations/0001_initial.py index 1a02dd8a..73884581 100644 --- a/rpki/gui/app/migrations/0001_initial.py +++ b/rpki/gui/app/migrations/0001_initial.py @@ -72,8 +72,8 @@ class Migration(migrations.Migration): name='ResourceRangeAddressV4', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('prefix_min', rpki.gui.models.IPv4AddressField(db_index=True)), - ('prefix_max', rpki.gui.models.IPv4AddressField(db_index=True)), + ('prefix_min', rpki.gui.models.IPAddressField(db_index=True)), + ('prefix_max', rpki.gui.models.IPAddressField(db_index=True)), ('cert', models.ForeignKey(related_name='address_ranges', to='app.ResourceCert')), ], options={ @@ -85,8 +85,8 @@ class Migration(migrations.Migration): name='ResourceRangeAddressV6', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('prefix_min', rpki.gui.models.IPv6AddressField(db_index=True)), - ('prefix_max', rpki.gui.models.IPv6AddressField(db_index=True)), + ('prefix_min', rpki.gui.models.IPAddressField(db_index=True)), + ('prefix_max', rpki.gui.models.IPAddressField(db_index=True)), ('cert', models.ForeignKey(related_name='address_ranges_v6', to='app.ResourceCert')), ], options={ -- cgit v1.2.3