Fix syntax error
parent
c69b37e530
commit
7ed2dc3c2d
|
@ -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'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue