[snowy] [api] Give the root API URI a name for easy access
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] [api] Give the root API URI a name for easy access
- Date: Fri, 5 Nov 2010 16:56:07 +0000 (UTC)
commit ef0c185e1653cc3abca1ed76629817c11a60adf4
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Wed Sep 15 15:48:18 2010 -0700
[api] Give the root API URI a name for easy access
api/urls.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/api/urls.py b/api/urls.py
index cd2af79..7c3bb93 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -38,5 +38,5 @@ urlpatterns = patterns('',
url(r'1.0/(?P<username>\w+)/notes/(?P<note_id>\d+)/$', note_handler, name='note_api_detail'),
url(r'1.0/(?P<username>\w+)/notes/$', notes_handler, name='note_api_index'),
url(r'1.0/(?P<username>\w+)/$', user_handler, name='user_api_index'),
- url(r'1.0/$', root_handler),
+ url(r'1.0/$', root_handler, name='api_root'),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]