Convert Origins to strings

This commit is contained in:
Johannes Linke
2015-12-05 13:44:53 +01:00
parent df2e047b08
commit abd9e9707f

View File

@@ -143,7 +143,7 @@ class Command(NoArgsCommand):
'get_template_sources', None)
if get_template_sources is None:
get_template_sources = loader.get_template_sources
paths.update(list(get_template_sources('')))
paths.update(str(origin) for origin in get_template_sources(''))
except (ImportError, AttributeError, TypeError):
# Yeah, this didn't work out so well, let's move on
pass