faq frontend typeguards
This commit is contained in:
27
backend/sitemanagement/migrations/0002_news.py
Normal file
27
backend/sitemanagement/migrations/0002_news.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.2.1 on 2025-05-15 16:40
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('sitemanagement', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='News',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('titleImage', models.ImageField(upload_to='')),
|
||||
('title', models.CharField(max_length=100)),
|
||||
('content', models.CharField(max_length=1000)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Новость',
|
||||
'verbose_name_plural': 'Новости',
|
||||
'ordering': ['id'],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user