API now uses OAuth

This commit is contained in:
2010-04-26 22:24:59 +01:00
parent 7f9d6f0abc
commit cb3efa04e2
5 changed files with 37 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.humanize',
'django_evolution',
'piston',
'registration',
'eve_proxy',
'eve_api',
@@ -85,6 +86,10 @@ INSTALLED_APPS = (
'api',
)
# API OAuth
#OAUTH_AUTH_VIEW = 'api.views.oauth.authorize_oauth'
OAUTH_CALLBACK_VIEW = 'api.views.oauth_callback'
# Disable the service API, used for data imports
DISABLE_SERVICES = False