Fix syntax error

refactor-builder
Eric Holscher 2014-02-27 17:08:04 +08:00
parent c69b37e530
commit 7ed2dc3c2d
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ from urls import urlpatterns as main_patterns
urlpatterns = patterns(
'', # base view, flake8 complains if it is on the previous line.
url((r'^projects/(?P<project_slug>[\w.-]+)/(?P<lang_slug>%s)/' % LANGUAGES_REGEX
r'(?P<version_slug>[\w.-]+)/(?P<filename>.*)$'),
url((r'^projects/(?P<project_slug>[\w.-]+)/(?P<lang_slug>%s)/'
r'(?P<version_slug>[\w.-]+)/(?P<filename>.*)$' % LANGUAGES_REGEX),
'core.views.subproject_serve_docs',
name='subproject_docs_detail'),