cleanup, better admin
This commit is contained in:
parent
d5b3076645
commit
b8f1c52613
15 changed files with 124 additions and 24 deletions
18
app/text/migrations/0004_rename_teaser_text_byline.py
Normal file
18
app/text/migrations/0004_rename_teaser_text_byline.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.7 on 2021-10-11 12:35
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('text', '0003_auto_20211011_1222'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='text',
|
||||
old_name='teaser',
|
||||
new_name='byline',
|
||||
),
|
||||
]
|
||||
18
app/text/migrations/0005_alter_page_slug.py
Normal file
18
app/text/migrations/0005_alter_page_slug.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.7 on 2021-10-11 12:39
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('text', '0004_rename_teaser_text_byline'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='page',
|
||||
name='slug',
|
||||
field=models.SlugField(blank=True, unique=True),
|
||||
),
|
||||
]
|
||||
18
app/text/migrations/0006_text_position.py
Normal file
18
app/text/migrations/0006_text_position.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.7 on 2021-10-11 12:44
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('text', '0005_alter_page_slug'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='text',
|
||||
name='position',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue