diff options
author | Yaroslsav-95 <contact@yaroslavps.com> | 2018-03-29 16:45:02 +0300 |
---|---|---|
committer | Yaroslsav-95 <contact@yaroslavps.com> | 2018-03-29 16:45:02 +0300 |
commit | d6c508bb46d660947718083e3fa214049253c42b (patch) | |
tree | 3e4d8bac2247dbdcb3573e1ed00b23d80baf2c56 /weblog/migrations/0008_auto_20180329_1316.py | |
parent | be41310b3dc4aec12d3a950cf9fe737811436499 (diff) | |
download | w3blog-d6c508bb46d660947718083e3fa214049253c42b.tar.gz w3blog-d6c508bb46d660947718083e3fa214049253c42b.zip |
Fixed bugs, and compatibility issues with Django 2.0
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'), + ), + ] |