diff options
author | luxagraf <sng@luxagraf.net> | 2024-03-09 08:13:03 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-03-09 08:13:03 -0600 |
commit | 10c3cf3b9fe30ea951e5ad2eaf592108a3301db4 (patch) | |
tree | 5d9f777f2213d0aa0c86fc4ee829547ebd524e3d /app/posts/migrations | |
parent | 9b496f3612c0dd8161bf2b20abb7901e86330e70 (diff) |
posts: simplified post_types
Diffstat (limited to 'app/posts/migrations')
-rw-r--r-- | app/posts/migrations/0028_alter_post_post_type_alter_post_title.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/posts/migrations/0028_alter_post_post_type_alter_post_title.py b/app/posts/migrations/0028_alter_post_post_type_alter_post_title.py new file mode 100644 index 0000000..03b68e3 --- /dev/null +++ b/app/posts/migrations/0028_alter_post_post_type_alter_post_title.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.7 on 2024-03-07 11:19 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0027_remove_post_template_name_post_post_topic'), + ] + + operations = [ + migrations.AlterField( + model_name='post', + name='post_type', + field=models.IntegerField(choices=[(1, 'jrnl'), (2, 'essay'), (3, 'src'), (4, 'jrnl'), (5, 'field note'), (7, 'film')], default=4), + ), + migrations.AlterField( + model_name='post', + name='title', + field=models.CharField(help_text='49 characters is ideal for essays', max_length=200), + ), + ] |