Skip to content

Commit

Permalink
Explicitly allow null value for the Registrar IANA ID
Browse files Browse the repository at this point in the history
  • Loading branch information
peteeckel committed Nov 16, 2023
1 parent 6e05f37 commit 5b33e43
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions netbox_dns/migrations/0027_alter_registrar_iana_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.5 on 2023-11-16 14:17

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("netbox_dns", "0026_domain_registration"),
]

operations = [
migrations.AlterField(
model_name="registrar",
name="iana_id",
field=models.IntegerField(blank=True, null=True),
),
]
1 change: 1 addition & 0 deletions netbox_dns/models/registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Registrar(NetBoxModel):
)
iana_id = models.IntegerField(
verbose_name="IANA ID",
null=True,
blank=True,
)
referral_url = models.URLField(
Expand Down

0 comments on commit 5b33e43

Please sign in to comment.