Package omeroweb :: Package webadmin :: Module views :: Class render_response_admin
[hide private]
[frames] | no frames]

Class render_response_admin

source code


Subclass for adding additional data to the 'context' dict passed to templates

Instance Methods [hide private]
 
prepare_context(self, request, context, *args, **kwargs)
We extend the webclient render_response to check if any groups are created.
source code

Inherited from webclient.decorators.render_response: load_settings

Inherited from decorators.render_response: __call__, __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

prepare_context(self, request, context, *args, **kwargs)

source code 

We extend the webclient render_response to check if any groups are created. If not, add an appropriate message to the template context

Overrides: decorators.render_response.prepare_context