diff options
author | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-05-31 15:08:24 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-05-31 15:08:24 +0300 |
commit | dfeb4deaa712a726a46489a2d1d04eb5257aa86c (patch) | |
tree | 0e6a8d65961a642263536ead8e70bf1516f2eb05 /weblog/migrations/0008_auto_20180329_1316.py | |
parent | 5a7466204b4030873405b1a0fcb8b208762453ee (diff) | |
parent | d6c508bb46d660947718083e3fa214049253c42b (diff) | |
download | w3blog-dfeb4deaa712a726a46489a2d1d04eb5257aa86c.tar.gz w3blog-dfeb4deaa712a726a46489a2d1d04eb5257aa86c.zip |
fixed bugs, etc.
Diffstat (limited to 'weblog/migrations/0008_auto_20180329_1316.py')
-rw-r--r-- | weblog/migrations/0008_auto_20180329_1316.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/weblog/migrations/0008_auto_20180329_1316.py b/weblog/migrations/0008_auto_20180329_1316.py new file mode 100644 index 0000000..f66aa65 --- /dev/null +++ b/weblog/migrations/0008_auto_20180329_1316.py @@ -0,0 +1,30 @@ +# Generated by Django 2.0.3 on 2018-03-29 13:16 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('weblog', '0007_auto_20180122_1943'), + ] + + operations = [ + migrations.AlterField( + model_name='blogpost', + name='author', + field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='Author'), + ), + migrations.AlterField( + model_name='category', + name='parent_category', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='weblog.Category', verbose_name='Parent category'), + ), + migrations.AlterField( + model_name='postcomment', + name='author', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='Author'), + ), + ] |