aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/app
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-27 03:38:51 +0000
committerRob Austein <sra@hactrn.net>2015-10-27 03:38:51 +0000
commit5e2f332808a680104d94afb5812e47cbc6dfcc1f (patch)
tree137c5b722096a119f761f2f10fcbf5bb013356ab /rpki/gui/app
parentf5efdeb3495f0de7c82c7d1139fe136e4bc05db4 (diff)
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
Diffstat (limited to 'rpki/gui/app')
-rw-r--r--rpki/gui/app/migrations/0001_initial.py8
1 files changed, 4 insertions, 4 deletions
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={