Skip to content

Commit

Permalink
🐛 [#3548] Add the ability to set Graph service to NULL from admin form
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Nov 13, 2023
1 parent fe49b6f commit 5cd8b12
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by Django 3.2.21 on 2023-11-13 11:43

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
("microsoft", "0003_auto_20211210_1804"),
("registrations_microsoft_graph", "0002_auto_20211210_1804"),
]

operations = [
migrations.AlterField(
model_name="msgraphregistrationconfig",
name="service",
field=models.OneToOneField(
blank=True,
null=True,
on_delete=django.db.models.deletion.PROTECT,
related_name="registration_config",
to="microsoft.msgraphservice",
verbose_name="Microsoft Graph service",
),
),
]
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class MSGraphRegistrationConfig(SingletonModel):
verbose_name=_("Microsoft Graph service"),
on_delete=models.PROTECT,
related_name="registration_config",
blank=True,
null=True,
)

Expand Down

0 comments on commit 5cd8b12

Please sign in to comment.