Bases: django.forms.fields.ChoiceField
Check that the field was selected.
Bases: django.forms.models.ModelChoiceField
Go through all values in queryset, looking to find ‘value’. If not found raise ValidationError.
@return value: The input value
Bases: omeroweb.webadmin.custom_forms.ExperimenterModelChoiceField
A MultipleChoiceField whose choices are a model QuerySet.
alias of MultipleHiddenInput
Bases: object
Bases: django.forms.models.ModelChoiceField
Bases: omeroweb.webadmin.custom_forms.GroupModelChoiceField
A MultipleChoiceField whose choices are a model QuerySet.
alias of MultipleHiddenInput
Bases: object
Bases: django.forms.fields.Field
A field to process comma seperated email into an array of stripped strings
Normalize data to a list of strings.
Check if value consists only of valid emails.
Bases: django.forms.fields.CharField
Bases: django.forms.models.ModelChoiceField
Bases: object
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: django.forms.forms.Form
Form to gather recipients, subject and message for sending email announcements
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: django.forms.forms.Form
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: omeroweb.custom_forms.NonASCIIForm
Bases: django.forms.forms.Form
A view functions is simply a Python function that takes a Web request and returns a Web response. This response can be the HTML contents of a Web page, or a redirect, or the 404 and 500 error, or an XML document, or an image... or anything.
Returns a json list of {“label”:<Name>, “data”: <Value>, “groupId / userId”: <id>} for plotting disk usage by users or groups. If ‘query’ is “groups” or “users”, this is for an Admin to show all data on server divided into groups or users. Else, if groupId is not None, we return data for that group, split by user. Else, if userId is not None, we return data for that user, split by group.
View to gather recipients, subject and message for sending email announcements
Bases: omeroweb.webclient.decorators.render_response
Subclass for adding additional data to the ‘context’ dict passed to templates
We extend the webclient render_response to check if any groups are created. If not, add an appropriate message to the template context