I\'m building a website with Python/Django. Users submit tags. Each tag can contain multiple words. Each tag has an ID number. I want to make sure tags that are formatted sl
I would use Django's slugify method, which condenses spaces into a single dash and other helpful features:
slugify
from django.template.defaultfilters import slugify