-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get() returned more than one Tag -- it returned 2! #826
Comments
@naskio do you have a longer stack trace? please post more details. |
NOTE: |
@naskio thank you very much for that detail! It sounds very important. If in your system you have that problem, the easiest thing to do would be to normalize manually in a database migration. So for example you find all of the You'll need to do some database cleanup. I think though that this error should have its own handling, though. And it might even make sense for us to write a helper management command... but at the very least we should document what to do. |
Good first issue: catching |
@rtpg |
Hi @naskio, can I give a shot at solving this issue? |
Yes sure |
What's the status on this? Up for grabs? |
@AmaMidzu it's yours for the taking! Going to assign you for now just so we can keep track |
@rtpg is this issue still available for improvement? I'd like to work on it |
@naskio I've figured out the first part of your recommendation. For the management command to remove duplicate tags, what do you think should be the preference?
also what would be a suitable name for the management command? "remove_duplicate_tags" or "deduplicate_tags" or something else? |
|
[#826] - get() returned more than one Tag -- it returned 2!
Hello
Sometimes when adding tags to an existing object, I am getting the following error.
Here is the code I am using
Notes:
The text was updated successfully, but these errors were encountered: