Convert Origins to strings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user