+picture_resource = Resource(handler=handlers.PictureHandler, authentication=auth)
+
+urlpatterns = patterns(
+ 'piston.authentication',
+ url(r'^oauth/request_token/$', 'oauth_request_token'),
+ url(r'^oauth/authorize/$', 'oauth_user_auth'),
+ url(r'^oauth/access_token/$', 'oauth_access_token'),
+
+) + patterns('',
+ url(r'^$', 'django.views.generic.simple.direct_to_template',
+ {'template': 'api/main.html'}),
+