diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 411: Make trailing slash optional in the API URL

Message ID 20130723122725.3997.38869.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Antonio Terceiro July 23, 2013, 12:27 p.m. UTC
Merge authors:
  Antonio Terceiro (terceiro)
Related merge proposals:
  https://code.launchpad.net/~terceiro/lava-server/api-trailing-slash/+merge/175880
  proposed by: Antonio Terceiro (terceiro)
  review: Approve - James Tunnicliffe (dooferlad)
------------------------------------------------------------
revno: 411 [merge]
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Tue 2013-07-23 09:26:29 -0300
message:
  Make trailing slash optional in the API URL
modified:
  lava_server/urls.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/urls.py'
--- lava_server/urls.py	2012-11-09 22:40:16 +0000
+++ lava_server/urls.py	2013-07-19 16:03:39 +0000
@@ -52,7 +52,7 @@ 
         include(admin.site.urls)),
     url(r'^{mount_point}openid/'.format(mount_point=settings.MOUNT_POINT),
         include('django_openid_auth.urls')),
-    url(r'^{mount_point}RPC2/'.format(mount_point=settings.MOUNT_POINT),
+    url(r'^{mount_point}RPC2/?'.format(mount_point=settings.MOUNT_POINT),
         'linaro_django_xmlrpc.views.handler',
         name='lava.api_handler',
         kwargs={