Commit 080a93d9 by aa.gusti

perbaikan attr add view config

1 parent 5c179c78
......@@ -480,7 +480,7 @@ def _add_view_config(config, view_name, route):
class_view = route.get("class_view") and f".{route.get('class_view')}" or ""
class_name = f"{view_name}{class_view}"
attr = f"view_{route.get("def_func")}"
attr = f"view_{route.get('def_func')}"
try:
_views = importlib.import_module(class_name)
views = _views
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!