mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Implemented using a batch-wise dependency-scanner in delayed (snappea) style. * no real point-of-entry in the (regular, non-admin) UI yet. * no hiding of Projects which are delete-in-progress from the UI * lack of DRY * some unnessary work (needed in the Issue-context, but not here) is still being done. See #50
23 lines
552 B
Python
23 lines
552 B
Python
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("projects", "0012_project_is_deleted"),
|
|
("issues", "0021_alter_do_nothing"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="turningpoint",
|
|
name="project",
|
|
field=models.ForeignKey(
|
|
null=True,
|
|
on_delete=django.db.models.deletion.DO_NOTHING,
|
|
to="projects.project",
|
|
),
|
|
),
|
|
]
|