Beispiel #1
0
def location_restricted_exception(request):
    from corehq.apps.hqwebapp.views import no_permissions_exception
    notify_exception(request, NOTIFY_EXCEPTION_MSG)
    return no_permissions_exception(request, message=LOCATION_ACCESS_DENIED)
Beispiel #2
0
def location_restricted_exception(request):
    from corehq.apps.hqwebapp.views import no_permissions_exception
    notify_exception(request, NOTIFY_EXCEPTION_MSG)
    return no_permissions_exception(request, message=LOCATION_ACCESS_DENIED)