django_any/functions.py
def register(self, field_type, impl=None):
        """
        Register form field data function.
        
        Could be used as decorator
        """
        def _wrapper(func):
            self.registry[field_type] = func
            return func

        if impl:
            return _wrapper(impl)
        return _wrapper
def register(self, field_type, impl=None):
        def _wrapper(func):
            self.registry[field_type] = func
            return func

        if impl:
            return _wrapper(impl)
        return _wrapper
def register ( self , field_type , impl = None ) : def _wrapper ( func ) : self . registry [ field_type ] = func return func if impl : return _wrapper ( impl ) return _wrapper
Register form field data function.
        
        Could be used as decorator
Register form field data function . Could be used as decorator