cms/cmsMain/migrations/0004_variable.py
2024-08-13 14:41:25 +03:00

25 lines
791 B
Python

# Generated by Django 5.1 on 2024-08-13 11:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cmsMain', '0003_alter_site_options_alter_url_options'),
]
operations = [
migrations.CreateModel(
name='Variable',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=50, verbose_name='Имя')),
('value', models.TextField(verbose_name='Значение')),
],
options={
'verbose_name': 'Переменная',
'verbose_name_plural': 'Переменные',
},
),
]