null not needed
This commit is contained in:
parent
42df9daf56
commit
42aa9a517c
18
apps/home/migrations/0021_alter_subscription_filters.py
Normal file
18
apps/home/migrations/0021_alter_subscription_filters.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0.1 on 2024-05-07 09:14
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0020_remove_savedguilds_unique_name_guild_id_pair_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='subscription',
|
||||
name='filters',
|
||||
field=models.ManyToManyField(to='home.filter'),
|
||||
),
|
||||
]
|
@ -216,7 +216,7 @@ class Subscription(models.Model):
|
||||
blank=True,
|
||||
)
|
||||
|
||||
filters = models.ManyToManyField(to="home.Filter", null=True, blank=True)
|
||||
filters = models.ManyToManyField(to="home.Filter", blank=True)
|
||||
|
||||
active = models.BooleanField(
|
||||
default=True,
|
||||
@ -246,4 +246,3 @@ class Subscription(models.Model):
|
||||
new_text = "New " if self._state.adding else ""
|
||||
log.debug("%sSubscription Saved %s", new_text, self.id)
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user