From 712024490bb9b3af65748007ba9d483b20a7409e Mon Sep 17 00:00:00 2001 From: Philipp Kilian Date: Tue, 9 Aug 2022 11:23:32 +0200 Subject: [PATCH] Add ToDo's for upcoming b3lb releases. --- b3lb/requirements.txt | 3 +++ b3lb/rest/models.py | 1 + 2 files changed, 4 insertions(+) diff --git a/b3lb/requirements.txt b/b3lb/requirements.txt index 4b68888..d5afdfe 100644 --- a/b3lb/requirements.txt +++ b/b3lb/requirements.txt @@ -1,9 +1,11 @@ +# ToDo: v3.1 - Delay update to Django 4.x Django==3.2.15 django-extensions==3.2.0 requests==2.28.1 celery==5.2.7 celery-singleton==0.3.1 django-cacheops==6.1 +# ToDo: v3.1 - TBD for Django 4.x django-db-file-storage==0.5.5 django-celery-admin==0.1 django-celery-beat==2.3.0 @@ -15,4 +17,5 @@ psycopg2cffi==2.9.0 uvicorn[standard]==0.18.2 aiohttp==3.8.1 jinja2==3.1.2 +# ToDo: v3.0 - drop dependency (ImageField) Pillow==9.2.0 diff --git a/b3lb/rest/models.py b/b3lb/rest/models.py index cce9960..874f133 100644 --- a/b3lb/rest/models.py +++ b/b3lb/rest/models.py @@ -374,6 +374,7 @@ class Asset(models.Model): tenant = models.OneToOneField(Tenant, on_delete=models.CASCADE, primary_key=True) slide = models.FileField(upload_to='rest.AssetSlide/blob/filename/mimetype', blank=True, null=True) slide_filename = models.CharField(max_length=250, blank=True, null=True) + # ToDo: v3.0 - change to FileField, drop Pillow dependency logo = models.ImageField(upload_to='rest.AssetLogo/blob/filename/mimetype', blank=True, null=True) custom_css = models.FileField(upload_to='rest.AssetCustomCSS/blob/filename/mimetype', blank=True, null=True)