radiac/django-tagulous

allow global force_lowercase setting

valentijnscholten opened this issue · 1 comments

I'd like to have all tags in my project to be always lowercase. For that a global setting FORCE_LOWERCASE or something would be helpful. It would prevent having to specify the option on every field/form/model.

Sorry its taken nearly 4 years to get to, but thanks for this idea! It's now implemented as settings.TAGULOUS_DEFAULT_TAG_OPTIONS.

To set global force lowercase, you'd add this to your settings.py:

TAGULOUS_DEFAULT_TAG_OPTIONS = {
    "force_lowercase": True,
}