0003_uploadfilemodel.py
652 Bytes
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-05-23 05:48
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myapp', '0002_auto_20180522_1919'),
]
operations = [
migrations.CreateModel(
name='UploadFileModel',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.TextField(default='')),
('file', models.FileField(null=True, upload_to='')),
],
),
]