feat: implement blog features
This commit is contained in:
parent
b93eabd429
commit
75662f9d98
28 changed files with 411 additions and 0 deletions
19
blog/migrations/0005_blogpage_authors.py
Normal file
19
blog/migrations/0005_blogpage_authors.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 5.0.2 on 2024-02-29 19:56
|
||||
|
||||
import modelcluster.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('blog', '0004_author'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='blogpage',
|
||||
name='authors',
|
||||
field=modelcluster.fields.ParentalManyToManyField(blank=True, to='blog.author'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue