Revision 20a626e7 snf-cyclades-app/synnefo/api/floating_ips.py

b/snf-cyclades-app/synnefo/api/floating_ips.py
64 64
    elif request.method == 'POST':
65 65
        return allocate_floating_ip(request)
66 66
    else:
67
        return api.method_not_allowed(request)
67
        return api.api_method_not_allowed(request)
68 68

  
69 69

  
70 70
def floating_ip_demux(request, floating_ip_id):
......
73 73
    elif request.method == 'DELETE':
74 74
        return release_floating_ip(request, floating_ip_id)
75 75
    else:
76
        return api.method_not_allowed(request)
76
        return api.api_method_not_allowed(request)
77 77

  
78 78

  
79 79
def ip_to_dict(floating_ip):

Also available in: Unified diff