app/soc/logic/models/group.py
changeset 991 becede26c37f
parent 674 0158b11cbf6d
child 1106 e14b0995cf29
equal deleted inserted replaced
990:fd1e6afb2d62 991:becede26c37f
    20 __authors__ = [
    20 __authors__ = [
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    22   ]
    22   ]
    23 
    23 
    24 
    24 
       
    25 from soc.cache import sidebar
    25 from soc.logic.models import base
    26 from soc.logic.models import base
    26 
    27 
    27 import soc.models.group
    28 import soc.models.group
    28 
    29 
    29 
    30 
    89       entity: an existing Group entity in the Datastore
    90       entity: an existing Group entity in the Datastore
    90     """
    91     """
    91 
    92 
    92     return True
    93     return True
    93 
    94 
       
    95   def _onCreate(self, entity):
       
    96     """Flushes the sidebar for the current user.
       
    97     """
       
    98     sidebar.flush()
    94 
    99 
    95 logic = Logic()
   100 logic = Logic()