diff options
author | luxagraf <sng@luxagraf.net> | 2019-10-07 15:27:00 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-10-07 15:27:00 -0400 |
commit | 4fec1159612fad17a7385ba8aadc4a4b165d5aa9 (patch) | |
tree | d413ea25e7c09efb29c4e80b8ffb3ca7c229a514 /app/posts/migrations | |
parent | 9cdfb6ec377fa534c1203c1af46662c2a1ff6f61 (diff) |
added new posts stuff and changed name of src posts
Diffstat (limited to 'app/posts/migrations')
-rw-r--r-- | app/posts/migrations/0006_post_short_title.py | 19 | ||||
-rw-r--r-- | app/posts/migrations/0007_auto_20191007_0949.py | 21 | ||||
-rw-r--r-- | app/posts/migrations/0008_post_topics.py | 19 |
3 files changed, 59 insertions, 0 deletions
diff --git a/app/posts/migrations/0006_post_short_title.py b/app/posts/migrations/0006_post_short_title.py new file mode 100644 index 0000000..a364147 --- /dev/null +++ b/app/posts/migrations/0006_post_short_title.py @@ -0,0 +1,19 @@ +# Generated by Django 2.1.7 on 2019-09-27 20:31 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0005_auto_20190918_1244'), + ] + + operations = [ + migrations.AddField( + model_name='post', + name='short_title', + field=models.CharField(default='blurk', max_length=200), + preserve_default=False, + ), + ] diff --git a/app/posts/migrations/0007_auto_20191007_0949.py b/app/posts/migrations/0007_auto_20191007_0949.py new file mode 100644 index 0000000..2d99da4 --- /dev/null +++ b/app/posts/migrations/0007_auto_20191007_0949.py @@ -0,0 +1,21 @@ +# Generated by Django 2.2.6 on 2019-10-07 09:49 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0006_post_short_title'), + ] + + operations = [ + migrations.RemoveField( + model_name='post', + name='category', + ), + migrations.RemoveField( + model_name='post', + name='tags', + ), + ] diff --git a/app/posts/migrations/0008_post_topics.py b/app/posts/migrations/0008_post_topics.py new file mode 100644 index 0000000..cd867d8 --- /dev/null +++ b/app/posts/migrations/0008_post_topics.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.6 on 2019-10-07 09:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('taxonomy', '0002_auto_20191007_0913'), + ('posts', '0007_auto_20191007_0949'), + ] + + operations = [ + migrations.AddField( + model_name='post', + name='topics', + field=models.ManyToManyField(blank=True, to='taxonomy.Category'), + ), + ] |