33 lines
809 B
Python
33 lines
809 B
Python
# Generated by Django 3.0.1 on 2020-11-15 22:17
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="MarkdownModel",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("title", models.CharField(max_length=80)),
|
|
("file", models.FileField(upload_to="markdown/")),
|
|
],
|
|
options={
|
|
"ordering": ["title"],
|
|
},
|
|
),
|
|
]
|