class documentation

class DatasetMultipleChoiceField(forms.ModelMultipleChoiceField):

View In Hierarchy

Customize label description and add method that returns the logo URL for Datasets. The implementation is inspired by how the choices are implemented. But since some other functionality depends on how those choices are implemented, it cannot be changed easily.

Method label_from_instance Dataset name as label.
Method logo_url_from_instance Return URL of Dataset's logo.
Property names_and_urls Undocumented
def label_from_instance(self, obj):

Dataset name as label.

Parameters
obj:DatasetUndocumented
Returns
strUndocumented
def logo_url_from_instance(self, obj):

Return URL of Dataset's logo.

Parameters
obj:DatasetUndocumented
Returns
strUndocumented
@property
names_and_urls =

Undocumented