aboutsummaryrefslogtreecommitdiff
path: root/weblog/migrations/0008_auto_20180531_0329.py
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-05-31 15:04:45 +0300
committerYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-05-31 15:04:45 +0300
commit5a7466204b4030873405b1a0fcb8b208762453ee (patch)
treebc73cccb953b6ba25afdb7dffbee505a296e94ac /weblog/migrations/0008_auto_20180531_0329.py
parentbe41310b3dc4aec12d3a950cf9fe737811436499 (diff)
downloadw3blog-5a7466204b4030873405b1a0fcb8b208762453ee.tar.gz
w3blog-5a7466204b4030873405b1a0fcb8b208762453ee.zip
Ability to pin posts, updated to bootstrap 4, fixes
Diffstat (limited to 'weblog/migrations/0008_auto_20180531_0329.py')
-rw-r--r--weblog/migrations/0008_auto_20180531_0329.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/weblog/migrations/0008_auto_20180531_0329.py b/weblog/migrations/0008_auto_20180531_0329.py
new file mode 100644
index 0000000..d79446b
--- /dev/null
+++ b/weblog/migrations/0008_auto_20180531_0329.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.8 on 2018-05-31 03:29
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('weblog', '0007_auto_20180122_1943'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='blogpost',
+ name='pin_priority',
+ field=models.IntegerField(default=0, verbose_name='Pinned post priority (if pinned)'),
+ ),
+ migrations.AddField(
+ model_name='blogpost',
+ name='pinned',
+ field=models.BooleanField(default=False, verbose_name='Pin blog post'),
+ ),
+ ]