1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/peeringdb_server/migrations/0073_manual_ixf_import.py
Matt Griswold 77282c4b66 Prep 2.29 (#1024)
* django3, py39, lgtm, linting (#715)

* IX-F Importer: ticket status change when posting re-occuring conflict to existing resolved ticket (#920)

* fix recaptcha requirement for user creation in django-admin (#715)

* IX-F Importer: fix command output buffering #967

* Drop dot1q_support field #903

* fix test (#967)

* Add name, city, country to ixfac (GET operation) #166

* additional tests fir #166

* Allow IXP to trigger ix-f importer for their exchange #779

* add docker compose for dev

* add selinux labels for mountpoints

* fixes #1013: The process to permanently remove old soft-deleted network contacts pdb_delete_pocs raises a false ProtectedAction

* fix api test

* relock poetry

* remove django_namespace_perms from installed apps

* fix user permissios ui

* remove remaining references to django namespace perms

* linting

* copy tox.ini

* comment flake8 check until we figure out why it ignores configs from tox.ini

* black format

* poetry lock

Co-authored-by: Stefan Pratter <stefan@20c.com>
2021-08-18 08:21:22 -05:00

53 lines
1.7 KiB
Python

# Generated by Django 3.2.5 on 2021-07-30 08:57
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("peeringdb_server", "0072_geocoordinatecache"),
]
operations = [
migrations.AddField(
model_name="internetexchange",
name="ixf_import_request",
field=models.DateTimeField(
blank=True,
help_text="Date of most recent manual import request",
null=True,
verbose_name="Manual IX-F import request",
),
),
migrations.AddField(
model_name="internetexchange",
name="ixf_import_request_status",
field=models.CharField(
choices=[
("queued", "Queued"),
("importing", "Importing"),
("finished", "Finished"),
],
default="queued",
help_text="The current status of the manual ix-f import request",
max_length=32,
verbose_name="Manual IX-F import status",
),
),
migrations.AddField(
model_name="internetexchange",
name="ixf_import_request_user",
field=models.ForeignKey(
blank=True,
help_text="The user that triggered the manual ix-f import request",
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="requested_ixf_imports",
to=settings.AUTH_USER_MODEL,
),
),
]