initial
This commit is contained in:
24
custompage/migrations/0001_initial.py
Normal file
24
custompage/migrations/0001_initial.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 4.2.6 on 2023-10-27 20:59
|
||||
|
||||
import ckeditor.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='customPage',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=100)),
|
||||
('slug', models.SlugField(blank=True, null=True, unique=True)),
|
||||
('content', ckeditor.fields.RichTextField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user