-
Notifications
You must be signed in to change notification settings - Fork 16
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
[7885] replace multiselect with m2m relation for project topics #1515
Conversation
Coverage reportTotal coverage
Report generated by 🧪jest coverage report action from ee18d9d |
1087905
to
22b10df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I would like to add a docs about how we handle topics for projects which make use of this. I will add an extra commit to this PR.
22b10df
to
ec16a09
Compare
78755b5
to
a2d20cd
Compare
a2d20cd
to
635a3d2
Compare
adhocracy4/projects/fields.py
Outdated
|
||
|
||
class TopicField(MultiSelectField): | ||
class TopicField(models.CharField): | ||
"""Deprecated, don't use""" | ||
|
||
# TODO: remove once topic migrations are rolled out | ||
def __init__(self, *args, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove all methods and just add pass
as it's unused anyway?
635a3d2
to
ee18d9d
Compare
Tasks