=== modified file 'lava_server/urls.py'
@@ -34,38 +34,38 @@
# Root URL patterns
urlpatterns = patterns(
'',
- url(r'^{mount_point}$'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^$',
index,
name='lava.home'),
- url(r'^{mount_point}me/$'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^me/$',
me,
name='lava.me'),
- url(r'^{mount_point}version/$'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^version/$',
version,
name='lava.version_details'),
- url(r'^{mount_point}accounts/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^accounts/',
include('django.contrib.auth.urls')),
- url(r'^{mount_point}admin/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^admin/',
include(admin.site.urls)),
- url(r'^{mount_point}openid/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^openid/',
include('django_openid_auth.urls')),
- url(r'^{mount_point}RPC2/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^RPC2/',
'linaro_django_xmlrpc.views.handler',
name='lava.api_handler',
kwargs={
'mapper': loader.xmlrpc_mapper,
'help_view': 'lava.api_help'}),
- url(r'^{mount_point}api/help/$'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^api/help/$',
'linaro_django_xmlrpc.views.help',
name='lava.api_help',
kwargs={
'mapper': loader.xmlrpc_mapper}),
- url(r'^{mount_point}api/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^api/',
include(api_urls.token_urlpatterns)),
# XXX: This is not needed but without it linaro-django-xmlrpc tests fail
- url(r'^{mount_point}api/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^api/',
include(api_urls.default_mapper_urlpatterns)),
- url(r'^{mount_point}utils/markitup/'.format(mount_point=settings.MOUNT_POINT),
+ url(r'^utils/markitup/',
include('lava_markitup.urls')))