Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I limit django-taggit to accept only lowercase words?

I'm using django-taggit. I'd like to have all tags in lowercase, also set a range for tag numbers (say between 1 and 5, just like stackoverflow). Is there any way to do it easily with django-taggit? Thanks!

like image 751
devfeng Avatar asked Jan 20 '23 15:01

devfeng


1 Answers

You might want to check out this branch. https://github.com/shacker/django-taggit it has a FORCE_LOWERCASE setting.

like image 120
Hutch Avatar answered Jan 29 '23 20:01

Hutch