Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py

Поиск
Список
Период
Сортировка
От Célestin Matte
Тема Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py
Дата
Msg-id 0c0f0cff-513a-e2e5-8ff7-a8f1463e364d@cmatte.me
обсуждение исходный текст
Ответ на Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [PATCH] pgweb: Add SEARCH_DSN to example settings.py
Список pgsql-www
Hi,

I'm reviewing the patches I sent a few months ago and this short one seems to have been left mid-discussion.

> I think having a default like in this patch is better. Otherwise it could randomly connect to a database with the
samename as the user for example, which might actually happen in dev scenarios. So if we want it empty we'd also need
toadd code to check if it's set or not before trying to use it - seems easier to set the default and have it fail :)
 

I guess it's OK as-is, then?

-- 
Célestin Matte



В списке pgsql-www по дате отправления:

Предыдущее
От: Célestin Matte
Дата:
Сообщение: Re: [PATCH] pglister: Add example script to import from mailman
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH] Fix typo in an unsubscribe-related message