Cache the homepage template context.
This requires pillar-python-sdk c8eec9fa9d8a198df198538a38ca1ad2367bb3e6 or newer.
This commit is contained in:
@@ -84,8 +84,10 @@ class CloudExtension(PillarExtension):
|
||||
"""
|
||||
|
||||
from pillar.api.service import signal_user_changed_role
|
||||
from . import routes
|
||||
|
||||
signal_user_changed_role.connect(self._user_changed_role)
|
||||
routes.setup_app(app)
|
||||
|
||||
def _user_changed_role(self, sender, user: dict):
|
||||
from pillar.api import service
|
||||
|
Reference in New Issue
Block a user