Receive and save incoming images
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.0.7 on 2020-11-24 00:41
|
||||
# Generated by Django 3.0.7 on 2020-11-24 17:46
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
@ -19,7 +19,7 @@ class Migration(migrations.Migration):
|
||||
('updated_date', models.DateTimeField(auto_now=True)),
|
||||
('remote_id', models.CharField(max_length=255, null=True)),
|
||||
('image', models.ImageField(blank=True, null=True, upload_to='status/')),
|
||||
('status', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='items', to='bookwyrm.Status')),
|
||||
('status', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='attachments', to='bookwyrm.Status')),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
|
Reference in New Issue
Block a user