mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-06 09:57:57 +00:00
Handle URLS for the PG10 docs. This is a hack for now - we need to properly handle '10' vs. '9.6' formatting before GA.
This commit is contained in:
@ -39,9 +39,9 @@ urlpatterns = patterns('',
|
||||
(r'^docs/$', 'pgweb.docs.views.root'),
|
||||
(r'^docs/manuals/$', 'pgweb.docs.views.manuals'),
|
||||
(r'^docs/manuals/archive/$', 'pgweb.docs.views.manualarchive'),
|
||||
(r'^docs/(current|devel|\d\.\d)/(static|interactive)/(.*).html?$', 'pgweb.docs.views.docpage'),
|
||||
(r'^docs/(current|devel|\d\.\d)/(static|interactive)/$', 'pgweb.docs.views.docsrootpage'),
|
||||
(r'^docs/(current|devel|\d\.\d)/$', 'pgweb.docs.views.redirect_root'),
|
||||
(r'^docs/(current|devel|[0-9]+\.\d)/(static|interactive)/(.*).html?$', 'pgweb.docs.views.docpage'),
|
||||
(r'^docs/(current|devel|[0-9]+\.\d)/(static|interactive)/$', 'pgweb.docs.views.docsrootpage'),
|
||||
(r'^docs/(current|devel|[0-9]+\.\d)/$', 'pgweb.docs.views.redirect_root'),
|
||||
|
||||
(r'^community/$', 'pgweb.core.views.community'),
|
||||
(r'^community/contributors/$', 'pgweb.contributors.views.completelist'),
|
||||
|
Reference in New Issue
Block a user