diff --git a/api/urls.py b/api/urls.py index b8a225e..36e061f 100644 --- a/api/urls.py +++ b/api/urls.py @@ -4,9 +4,9 @@ from piston.authentication import HttpBasicAuthentication from api.handlers import * -auth = HttpBasicAuthentication(realm="My Realm") -#ad = { 'authentication': auth } -ad = {} +auth = HttpBasicAuthentication(realm="Auth API") +ad = { 'authentication': auth } +#ad = {} user_resource = Resource(handler=UserHandler, **ad) login_resource = Resource(handler=LoginHandler, **ad)