django-taggit icon indicating copy to clipboard operation
django-taggit copied to clipboard

Allow only specified characters in tag names

Open blebeka opened this issue 10 years ago • 3 comments

Is there a possibility to allow only specified characters in tag names?

I would like to have only [0-9a-zA-Z_]+ tags, that's it.

Can it be done? If not, are there any plans to implement such feature?

blebeka avatar Aug 12 '14 13:08 blebeka

I want this too! Any solution?

sibe7691 avatar Dec 15 '15 08:12 sibe7691

it would be cool if these tags had a way to implement validation in general. Like only emails ?

mevinbabuc avatar Aug 14 '16 17:08 mevinbabuc

I think that normally you should be able to do this by defining a custom tag and defining the name field with validators on it. At the very least this is a good FAQ thing

rtpg avatar Apr 14 '21 05:04 rtpg