Skip to content
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

Implement attachment kinds as custom field #784

Open
miggol opened this issue Dec 3, 2024 · 0 comments
Open

Implement attachment kinds as custom field #784

miggol opened this issue Dec 3, 2024 · 0 comments

Comments

@miggol
Copy link
Contributor

miggol commented Dec 3, 2024

This is more of a long-term feature, but something that I would like to learn how to do.

Currently we store attachment kinds as a string and convert it back to an AttachmentKind class with lots of juggling with the get_kind_from_string() function. This is a perfect candidate for a custom model field that does this kind of thing automatically behind the scenes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant