rohitjain-rj / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

optinal setting to allow spaces in tag names #257

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks for the app. Please consider adding a setting to allow spaces in tag 
names. 

From my limited understand, I think it's simple. 

----
settings.py

# Allow spaces in tag name
SPLIT_TAGS_ON_SPACES = getattr(settings, 'SPLIT_TAGS_ON_SPACES', True)

----
utils.py
from tags import settings

if settings.SPLIT_TAGS_ON_SPACES:
    # Special case - if there are no commas or double quotes in the

Original issue reported on code.google.com by s...@shakfu.com on 20 Jan 2011 at 11:24