Skip to content

Commit

Permalink
deps: removed django-multiselectedfield
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ra committed Dec 12, 2023
1 parent f7e08b6 commit 635a3d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions adhocracy4/projects/fields.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 0 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 635a3d2

Please sign in to comment.