mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
API now uses OAuth
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user