router:use_module
This commit is contained in:
parent
a183e665b0
commit
757f55f38e
|
@ -119,7 +119,7 @@ class PageManager(component.Component):
|
|||
self.urls += url_list
|
||||
self.page_classes.update(class_list)
|
||||
|
||||
def register_page(self, url, klass, use_module=False):
|
||||
def register_page(self, url, klass, use_module=True):
|
||||
if use_module:
|
||||
name = klass.__module__ + "." + klass.__name__
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue