def allow_remote_invocation(func, method='auto'):
    setattr(func, 'allow_rmi', method)
    return func
All methods which shall be callable through a given Ajax 'action' must be
dataset/ETHPy150Open jrief/django-angular/djng/views/mixins.py/allow_remote_invocation