Mix of Python and Django utility functions, classed etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
518 B

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
try:
from ._version import __version__
except ImportError:
__version__ = '0.0.0+see-git-tag'
VERSION = __version__.split('+')
VERSION = tuple(list(map(int, VERSION[0].split('.'))) + VERSION[1:])
try:
from django.utils.translation import ugettext_lazy as _
SLUG_HELP = _("Kurzfassung des Namens für die Adresszeile im Browser. Vorzugsweise englisch, keine Umlaute, nur Bindestrich als Sonderzeichen.")
except ImportError:
pass