# Path: kardboard/util.py
# def slugify(text, delim=u'-'):
#     """Generates an ASCII-only slug."""
#     result = []
#     text = text.replace("'", "")
#     for word in _punct_re.split(text.lower()):
#         word = word.encode('translit/long')
#         if word:
#             result.append(word)
#     return unicode(delim.join(result)).strip()


from kardboard.util import slugify


class Team(object):
    def __init__(self, name):
        self.name = name.strip()

    @property
    def slug(self):

# Path: kardboard/util.py
# def slugify(text, delim=u'-'):
#     """Generates an ASCII-only slug."""
#     result = []
#     text = text.replace("'", "")
#     for word in _punct_re.split(text.lower()):
#         word = word.encode('translit/long')
#         if word:
#             result.append(word)
#     return unicode(delim.join(result)).strip()


# Path: kardboard/models/team.py
from kardboard.util import slugify



class Team(object):
    def __init__(self, name):
        self.name = name.strip()

    @property
    def slug(self):

        return slugify(self.name)