def from_text(cls, text):
"""Tries to return a Competence or a Section."""
parts = re.split(ur'[-\u2013]', text, 1)
def from_text(cls, text):
"""Tries to return a Competence or a Section."""
parts = re.split(ur'[-\u2013]', text, 1)
add_translatable(Competence, {
'name': models.CharField(_('name'), max_length=255, default = '')
add_translatable(Competence, {
'name': models.CharField(_('name'), max_length=255, default = '')