Using DAL + django-taggit. When tag creation is enabled, the created tags are including the Create "<text>" boilerplate from the widget in the tag name. For example, if I type foo, and a tag named foo does not exist, the widget gives me the option Create "foo". Clicking on it sends a POST request to the autocomplete view with the text field set literally to Create "foo" instead of just foo, and the tag is created with the full text.
Additionally, the widget displays 2 options even though no tags exist: foo and Create "foo". Clicking just on foo selects a tag that doesn't exist. It appears that DAL tries to create the object on its own but not through the create_object() function, which I need to override to provide additional fields for the tag model.
Using DAL + django-taggit. When tag creation is enabled, the created tags are including the
Create "<text>"
boilerplate from the widget in the tag name. For example, if I typefoo
, and a tag named foo does not exist, the widget gives me the optionCreate "foo"
. Clicking on it sends a POST request to the autocomplete view with the text field set literally toCreate "foo"
instead of justfoo
, and the tag is created with the full text.Additionally, the widget displays 2 options even though no tags exist:
foo
andCreate "foo"
. Clicking just onfoo
selects a tag that doesn't exist. It appears that DAL tries to create the object on its own but not through thecreate_object()
function, which I need to override to provide additional fields for the tag model.