attribute_kinds: since Django 1.7 allow_lazy() seems to need an explicit return value type
This commit is contained in:
parent
d0a691f5b6
commit
246843f958
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue