handle image attachments recursively
This commit is contained in:
parent
2480690378
commit
4626d94ab9
7 changed files with 71 additions and 55 deletions
19
bookwyrm/migrations/0015_auto_20201128_0349.py
Normal file
19
bookwyrm/migrations/0015_auto_20201128_0349.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.0.7 on 2020-11-28 03:49
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0014_auto_20201128_0118'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='image',
|
||||
name='status',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='attachments', to='bookwyrm.Status'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue