Skip to content
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

Problem when splitting keywords in metadata #2574

Closed
artists974 opened this issue Aug 4, 2016 · 3 comments
Closed

Problem when splitting keywords in metadata #2574

artists974 opened this issue Aug 4, 2016 · 3 comments
Assignees
Milestone

Comments

@artists974
Copy link
Contributor

When someone adds multi-words keywords, they are sometimes splitted in several distinct words. For example :

Mountains, Lakes --> No problem, will give "Mountains", "Lakes"
Urban Environment, Lakes --> No problem, will give "Urban Environment", "Lakes". This is because there is at least one comma, so I suppose Python understands that the separator is the comma. The problem comes either if there is only one multi-words keyword, or if the last keyword of a list is a multi-words keyword. The only trick I found is to ask the user to always end his list of keywords by a comma, even if there is only one keyword. This really works, but it's not comfortable for the user. So :

Urban Environment --> Will give "Urban", "Environment" which is not good at all
Lakes, Mountains, Urban Environment --> Will give "Lakes", "Mountains", "Urban", "Environment".
BUT
Urban Environment, --> Will give "Urban Environment", no problem
Lakes, Mountains, Urban Environment, --> Will give "Lakes", "Mountains", "Urban Environment" : perfect.

@capooti
Copy link
Member

capooti commented Aug 5, 2016

I believe this should be addressed to django-taggit issue tracker

@jj0hns0n jj0hns0n added the bug label Aug 21, 2016
@jj0hns0n
Copy link
Member

@artists974 did you send this upstream to the django-taggit issue tracker? If so, can we close?

@jj0hns0n jj0hns0n added this to the 2.5 milestone Aug 21, 2016
@artists974
Copy link
Contributor Author

Hi, we didn't send yet. But you can close if you want, thanks

@jj0hns0n jj0hns0n self-assigned this Aug 22, 2016
@jj0hns0n jj0hns0n modified the milestones: 2.5, 2.6 Aug 26, 2016
@simod simod closed this as completed Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants