trying to figure out how to serve user-uploaded files

This commit is contained in:
Yamozha
2021-02-09 18:19:42 +02:00
parent d1280445f4
commit dfda536aab
39 changed files with 93 additions and 22 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.1.6 on 2021-02-09 16:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('upload', '0002_auto_20210209_1803'),
]
operations = [
migrations.AlterField(
model_name='image',
name='image',
field=models.FileField(upload_to='static/'),
),
]