From 5b4d761b13d1b932c21732616fe3c79c4f3f5455 Mon Sep 17 00:00:00 2001
From: Brian Moe <brian.moe@ligo.org>
Date: Fri, 4 Jan 2013 10:11:58 -0600
Subject: [PATCH] Allow trailing / in API Root URL

---
 gracedb/urls_rest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gracedb/urls_rest.py b/gracedb/urls_rest.py
index 86f9794af..2edf6ed7f 100644
--- a/gracedb/urls_rest.py
+++ b/gracedb/urls_rest.py
@@ -9,7 +9,8 @@ from gracedb.api import Files, FileMeta
 from gracedb.api import EventNeighbors, EventLabel
 
 urlpatterns = patterns('gracedb.api',
-    url (r'^$', GracedbRoot.as_view(), name="api-root"),
+    url (r'^/?$', GracedbRoot.as_view(), name="api-root"),
+
 
     # Event Resources
     # events/[{graceid}[/{version}]]
-- 
GitLab