Skip to content

Commit c6c8bae

Browse files
committed
Actually return urls in _get_urls
1 parent 24a9a41 commit c6c8bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangojs/urls_serializer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def urls_as_dict():
4343
urls = {}
4444
if settings.JS_URLS_ENABLED:
4545
if isinstance(module, (six.text_type, six.string_types)):
46-
_get_urls(module)
46+
urls = _get_urls(module)
4747
else:
4848
for item in module:
4949
urls = dict(urls.items() + _get_urls(item).items())

0 commit comments

Comments
 (0)