mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* fix next redirect when using U2F 2FA auth (#1191) * Added self identifier to API * fix migrations hierarchy after merging in previous support branch * campus object Co-authored-by: Stefan Pratter <stefan@20c.com> * fix out of bound error message add city / country to campus view * fix tests * relock poetry * linting * linting * fix docs regen * regen docs * linting * refactor self entity view to support carrier and campus object types and also make it easier to support additional object types in the future * remove debug message --------- Co-authored-by: Gajanan Patil <dipaksavaliya.python@gmail.com>
52 lines
1.7 KiB
Python
52 lines
1.7 KiB
Python
# Generated by Django 3.2.5 on 2021-07-30 08:57
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
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,
|
|
),
|
|
),
|
|
]
|