-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from benjaoming/avoid-migration
Avoid migration
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
_disable_notifications = False | ||
|
||
__version__ = "1.2.1" | ||
__version__ = "1.2.2" | ||
|
||
default_app_config = "django_nyt.apps.DjangoNytConfig" |
29 changes: 29 additions & 0 deletions
29
django_nyt/migrations/0009_alter_notification_subscription_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 4.0.2 on 2022-02-12 22:40 | ||
import django.db.models.deletion | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('django_nyt', '0008_auto_20161023_1641'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='subscription', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='django_nyt.subscription', verbose_name='subscription'), | ||
), | ||
migrations.AlterField( | ||
model_name='subscription', | ||
name='notification_type', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='django_nyt.notificationtype', verbose_name='notification type'), | ||
), | ||
migrations.AlterField( | ||
model_name='subscription', | ||
name='settings', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='django_nyt.settings', verbose_name='settings'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
Release Notes | ||
============= | ||
|
||
1.2.2 | ||
----- | ||
|
||
* Adds a no-op migration because of auto-detected changes | ||
|
||
|
||
1.2.1 | ||
----- | ||
|
||
|