diff options
author | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-05-31 15:04:45 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-05-31 15:04:45 +0300 |
commit | 5a7466204b4030873405b1a0fcb8b208762453ee (patch) | |
tree | bc73cccb953b6ba25afdb7dffbee505a296e94ac /weblog/migrations/0008_auto_20180531_0329.py | |
parent | be41310b3dc4aec12d3a950cf9fe737811436499 (diff) | |
download | w3blog-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.py | 25 |
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'), + ), + ] |