Replaced default_app_config variable by module config to locate the
AppConfig object
This commit is contained in:
@@ -15,7 +15,7 @@ class RootView(generic.TemplateView):
|
||||
root_url_name = '%s:%s' % (module_meta_obj.url_namespace, root_url_name)
|
||||
try:
|
||||
reverse(root_url_name)
|
||||
root_urls.append((module_meta_obj.app, root_url_name))
|
||||
root_urls.append((module_meta_obj.package, root_url_name))
|
||||
except NoReverseMatch:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user