entity_event/models.py
def clean(self):
        """Validation for the model.

        Check that:
        - the context loader provided maps to an actual loadable function.
        """
        if self.context_loader:
            try:
                self.get_context_loader_function()
            except ImproperlyConfigured:
                raise ValidationError('Must provide a loadable context loader')
Validation for the model.

        Check that:
        - the context loader provided maps to an actual loadable function.
        
Validation for the model.
Check that:
the context loader provided maps to an actual loadable function.
Validation for the model . Check that : the context loader provided maps to an actual loadable function .
def clean(self):
        if self.context_loader:
            try:
                self.get_context_loader_function()
            except ImproperlyConfigured:
                raise ValidationError('Must provide a loadable context loader')
def clean ( self ) : if self . context_loader : try : self . get_context_loader_function ( ) except ImproperlyConfigured : raise ValidationError ( 'Must provide a loadable context loader' )
Validation for the model.
Validation for the model .
"""Validation for the model.

        Check that:
        - the context loader provided maps to an actual loadable function.
        """
self