mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Add views and templates to perform searches from the main web app
This makes it possible to render the search results on the main engine. We still run the query on the seprate search server, so once has to be configured in settings_local.py with the key SEARCH_DSN (standard PostgreSQL/psycopg2 connection string)
This commit is contained in:
@ -55,6 +55,8 @@ urlpatterns = patterns('',
|
||||
(r'^community/weeklynews/$', 'pwn.views.index'),
|
||||
(r'^community/weeklynews/pwn(\d{4})(\d{2})(\d{2})/$', 'pwn.views.post'),
|
||||
|
||||
(r'^search/$', 'search.views.search'),
|
||||
|
||||
(r'^support/professional_(support|hosting)/$', 'profserv.views.root'),
|
||||
(r'^support/professional_(support|hosting)[/_](.*)/$', 'profserv.views.region'),
|
||||
(r'^support/submitbug/$', 'misc.views.submitbug'),
|
||||
|
Reference in New Issue
Block a user