Fix: evaluation_create => cache invalidation
This commit is contained in:
parent
84a25ae15b
commit
0196d411b4
@ -175,6 +175,7 @@ def do_evaluation_create(
|
||||
|
||||
# news
|
||||
M = sco_moduleimpl.moduleimpl_list(moduleimpl_id=moduleimpl_id)[0]
|
||||
sco_cache.invalidate_formsemestre(formsemestre_id=M["formsemestre_id"])
|
||||
mod = sco_edit_module.module_list(args={"module_id": M["module_id"]})[0]
|
||||
mod["moduleimpl_id"] = M["moduleimpl_id"]
|
||||
mod["url"] = "Notes/moduleimpl_status?moduleimpl_id=%(moduleimpl_id)s" % mod
|
||||
|
@ -1859,7 +1859,7 @@ class BasePreferences(object):
|
||||
|
||||
def load(self):
|
||||
"""Load all preferences from db"""
|
||||
log(f"loading preferences for dept_id={self.dept_id}")
|
||||
# log(f"loading preferences for dept_id={self.dept_id}")
|
||||
|
||||
cnx = ndb.GetDBConnexion()
|
||||
preflist = self._editor.list(cnx, {"dept_id": self.dept_id})
|
||||
|
Loading…
Reference in New Issue
Block a user