attribute_kinds: since Django 1.7 allow_lazy() seems to need an explicit return value type

This commit is contained in:
Benjamin Dauvergne 2015-03-17 16:55:56 +01:00
parent d0a691f5b6
commit 246843f958
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ from django.template.defaultfilters import capfirst
from .decorators import to_list
from . import app_settings
capfirst = allow_lazy(capfirst)
capfirst = allow_lazy(capfirst, unicode)
@to_list
def get_choices():