forked from DGNum/gestiojeux
28 lines
988 B
Python
28 lines
988 B
Python
# Generated by Django 3.1.2 on 2020-12-13 14:19
|
|
|
|
from django.db import migrations, models
|
|
import markdownx.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='MarkdownPage',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('slug', models.SlugField(blank=True, help_text="Identifiant de la page qui se voit dans l'URL. Ne doit pas collisionner avec une page existante. Laisser vide pour la page d'accueil, requis sinon.", unique=True, verbose_name='Adresse de la page')),
|
|
('content', markdownx.models.MarkdownxField(verbose_name='Contenu')),
|
|
],
|
|
options={
|
|
'verbose_name': 'page Markdown',
|
|
'verbose_name_plural': 'pages Markdown',
|
|
'ordering': ['slug'],
|
|
},
|
|
),
|
|
]
|