cms/cmsMain/migrations/0006_post_url.py

20 lines
572 B
Python
Raw Permalink Normal View History

2024-09-01 15:07:03 +03:00
# Generated by Django 5.1 on 2024-09-01 10:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cmsMain', '0005_feedback_file_post'),
]
operations = [
migrations.AddField(
model_name='post',
name='url',
field=models.CharField(default='/test-post', help_text='Без слеша в начале, например: blog/test-post или my-first-test-post', max_length=100, verbose_name='Ссылка'),
preserve_default=False,
),
]