aboutsummaryrefslogtreecommitdiff
path: root/weblog/migrations
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2019-01-10 22:09:59 +0300
committerYaroslav <contact@yaroslavps.com>2019-01-10 22:09:59 +0300
commit96fc77becc1d89ca555dd65d1a79ffa178cc3a5c (patch)
tree3632d620b6fd8b47d3d5430858371a457d7db8e1 /weblog/migrations
parentae6dda5c5c03bbca77ac9f7b6f4e62ef82703126 (diff)
downloadw3blog-96fc77becc1d89ca555dd65d1a79ffa178cc3a5c.tar.gz
w3blog-96fc77becc1d89ca555dd65d1a79ffa178cc3a5c.zip
uncommented publish date, all migrations up to date, provided default value
Diffstat (limited to 'weblog/migrations')
-rw-r--r--weblog/migrations/0010_auto_20190110_1901.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/weblog/migrations/0010_auto_20190110_1901.py b/weblog/migrations/0010_auto_20190110_1901.py
new file mode 100644
index 0000000..9016aff
--- /dev/null
+++ b/weblog/migrations/0010_auto_20190110_1901.py
@@ -0,0 +1,31 @@
+# Generated by Django 2.0 on 2019-01-10 19:01
+
+import datetime
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('weblog', '0009_merge_20190104_2123'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='postcomment',
+ name='publish_date',
+ field=models.DateTimeField(default=datetime.datetime(2019, 1, 10, 19, 1, 18, 209024), verbose_name='Publish date'),
+ ),
+ migrations.AlterField(
+ model_name='category',
+ name='parent_category',
+ field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_DEFAULT, 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.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='Author'),
+ ),
+ ]