Further work on the v2 API, new EVE Proxy

This commit is contained in:
2011-01-10 09:21:22 +00:00
parent 7be1f97cba
commit 6498338686
2 changed files with 51 additions and 7 deletions

View File

@@ -28,8 +28,11 @@ urlpatterns = patterns('',
)
# v2 APIs
v2_authenticate_resource = Resource(handler=AuthenticationHandler, **noauth)
v2_authenticate_resource = Resource(handler=V2AuthenticationHandler, **noauth)
v2_eveapiproxy_resource = Resource(handler=V2EveAPIProxyHandler, **apikeyauth)
urlpatterns += patterns('',
url(r'^v2/authenticate/$', v2_authenticate_resource),
url(r'^v2/proxy/', eveapiproxy_resource, name='v2-api-eveapiproxy'),
)