diff options
author | Leif Johansson <leifj@sunet.se> | 2011-11-07 18:46:56 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-11-07 18:46:56 +0100 |
commit | af973256dbcfbcbd4007cbfb1b571143a2ceee55 (patch) | |
tree | 69e13e75369b19a50c30ded8407bdd1f94fd124a /coip/urls.py | |
parent | 72efcafbd4dc984a87b2dad0ce4a6d0df8b339ae (diff) |
a simple oauth2-protected hello-world
Diffstat (limited to 'coip/urls.py')
-rw-r--r-- | coip/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coip/urls.py b/coip/urls.py index c1470e0..49df4d4 100644 --- a/coip/urls.py +++ b/coip/urls.py @@ -74,5 +74,6 @@ urlpatterns = patterns('', (r'^api/', include(v1_api.urls)), (r'^opensocial/1.0/rpc', 'coip.apps.opensocial.common.system'), (r'^opensocial/', include(opensocial_v1.urls)), - (r'^oauth2/', include('django_oauth2_lite.urls')) + (r'^hello/?', 'coip.apps.name.views.hello'), + (r'^oauth2/', include('django_oauth2_lite.urls')) ) |