From 635a3d263da4568faac061e937f21cf60405b2e3 Mon Sep 17 00:00:00 2001 From: Mara Karagianni Date: Tue, 12 Dec 2023 13:51:31 +0200 Subject: [PATCH] deps: removed django-multiselectedfield --- adhocracy4/projects/fields.py | 5 ++--- requirements/base.txt | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/adhocracy4/projects/fields.py b/adhocracy4/projects/fields.py index ff3b1beb3..43714fdfb 100644 --- a/adhocracy4/projects/fields.py +++ b/adhocracy4/projects/fields.py @@ -1,13 +1,12 @@ -from multiselectfield import MultiSelectField +from django.db import models -class TopicField(MultiSelectField): +class TopicField(models.CharField): """Deprecated, don't use""" # TODO: remove once topic migrations are rolled out def __init__(self, *args, **kwargs): kwargs["max_length"] = 254 - kwargs["max_choices"] = 2 kwargs["default"] = "" kwargs["blank"] = False super().__init__(*args, **kwargs) diff --git a/requirements/base.txt b/requirements/base.txt index 0a240e100..222852253 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -7,7 +7,6 @@ https://github.com/liqd/django-ckeditor-5/releases/download/v0.2.11-liqd/django_ django-ckeditor==6.6.1 django-enumfield==3.1 django-filter==22.1 -django-multiselectfield==0.1.12 django-widget-tweaks==1.4.12 djangorestframework==3.14.0 easy-thumbnails[svg]==2.8.5