Raphael Gaschignard
Raphael Gaschignard
```python @require_instance_manager def names(self): return self.get_queryset().values_list("name", flat=True) @require_instance_manager def slugs(self): return self.get_queryset().values_list("slug", flat=True) ``` I'm guessing this is more of a Django problem with `values_list` rather than a `django-taggit` problem....
Leaving this open to ruminate on the problem a bit more, I might be missing a detail here.
@pylenin sorry for the delay here, can you provide more information (like the definition of the model you're using and any other customizations?) To try and isolate the issue
This feels like a pretty fundamental issue, would you happen to have a snippet of how you are checking if the tags are created or not? Something like: ``` obj...
@djjudas21 looking at your branch, right now you have: ``` def save(self, *args, **kwargs): model = super().save(*args, **kwargs) model.tags.add("test2") self.save_m2m() ``` (with your `fields` on this form set to `__all__`,...
@djjudas21 sorry, actually that was me trying something and somehow it got in there, but ignore it. Removed the `if` statement entirely
we might not be propagating the `related_name='+'` thing properly
Thanks for the report, this is clearly a nasty little bug
We don't define a model-based ordering by default, but I've seen this in a couple issues, I think we might want to just bite the bullet and apply some ordering...
@lucemia thank you for pointing this out, I hadn't quite absorbed this fact when this had come up. To be honest I don't quite know what the value of "ascii-fying"...