You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theget_kind_from_string()
function. This is a perfect candidate for a custom model field that does this kind of thing automatically behind the scenes.The text was updated successfully, but these errors were encountered: