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

Exception when FORCE_LOWERCASE_TAGS is set #259

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment
Open

Exception when FORCE_LOWERCASE_TAGS is set #259

GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

A simple flow of multiple tag selection:

From user input, run utility function parse_tag_input and receive a list.

Set this list to a tag field when FORCE_LOWERCASE_TAGS is set.

method: def __set__(self, instance, value): is called

lines 70,71:

if settings.FORCE_LOWERCASE_TAGS and value is not None:
            value = value.lower()

this fails with exception since value is a list and not a string. There should 
be test for a list and lowercase the list one by one if needed.

Original issue reported on code.google.com by [email protected] on 2 Feb 2011 at 7:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant