I am new to django and trying to learn how to create a django form, I created a custom form and everything is working. But I want to create a many to many relationship, the user should be able to input many different items, by adding multiple custom entries for example a user may enter multiple tags for a photo, similar to how stackoverflow works with tags. If the entry the user input already exists, then the database entry should user the existing entry otherwise it should create a new entry.
How is this done?
Thanks for the help 🙂
the most powerful django tagging solution is django-tagging see here for a quick howto. It uses generic relations which is one of the most powerful django feature.