You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
760 B
25 lines
760 B
# Generated by Django 3.1.4 on 2021-05-15 13:24
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('serviceApp', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Article',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=20)),
|
|
('author', models.CharField(max_length=10)),
|
|
('text', models.CharField(max_length=200)),
|
|
('img', models.ImageField(upload_to='image')),
|
|
('file_upload', models.FileField(upload_to='file')),
|
|
],
|
|
),
|
|
]
|