8000 fix: block creation of floorplan without image by jennifer-richards · Pull Request #9040 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: block creation of floorplan without image #9040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ietf/meeting/migrations/0014_alter_floorplan_image.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright The IETF Trust 2025, All Rights Reserved

from django.db import migrations, models
import ietf.meeting.models
import ietf.utils.storage


class Migration(migrations.Migration):
dependencies = [
("meeting", "0013_correct_reg_checkedin"),
]

operations = [
migrations.AlterField(
model_name="floorplan",
name="image",
field=models.ImageField(
default=None,
storage=ietf.utils.storage.BlobShadowFileSystemStorage(
kind="", location=None
),
upload_to=ietf.meeting.models.floorplan_path,
),
),
]
2 changes: 1 addition & 1 deletion ietf/meeting/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ class FloorPlan(models.Model):
image = models.ImageField(
storage=BlobShadowFileSystemStorage(kind="floorplan"),
upload_to=floorplan_path,
blank=True,
blank=False,
default=None,
)
#
Expand Down
Loading
0