Cool New django-taggit API
Read OriginalThe article discusses a solution for django-taggit's limitation with non-integer primary keys by implementing custom through models. It explains how to create a TaggedItemBase subclass and use TaggableManager to support CharField or TextField primary keys, allowing for extended features like user foreign keys or preserving original tag text.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser