Add image uploading feature for organization (#122)

This commit is contained in:
Phuoc Anh Kha Le 2024-07-17 21:05:42 -05:00 committed by GitHub
parent c00db58cb1
commit 9dd779f4fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 130 additions and 14 deletions

View file

@ -0,0 +1,21 @@
# Generated by Django 3.2.21 on 2024-07-08 00:05
from django.db import migrations, models
import judge.models.profile
class Migration(migrations.Migration):
dependencies = [
("judge", "0188_official_contest"),
]
operations = [
migrations.AddField(
model_name="organization",
name="organization_image",
field=models.ImageField(
null=True, upload_to=judge.models.profile.organization_image_path
),
),
]