mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Introduce support for Flatpages
Markdown support only
This commit is contained in:
22
ram/portal/migrations/0008_flatpage.py
Normal file
22
ram/portal/migrations/0008_flatpage.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 4.0.6 on 2022-08-07 15:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('portal', '0007_siteconfiguration_items_ordering'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Flatpage',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=256, unique=True)),
|
||||
('draft', models.BooleanField(default=True)),
|
||||
('content', models.TextField(blank=True)),
|
||||
],
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user