Re: Proposal for a new key in settings.DATABASE dict

2015-06-22 Thread Andriy Sokolovskiy (coldmind)
Nope, OPTIONS is not new configuration tool You can find more info https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-OPTIONS If you will have usage problems, please create new message in django-users IRC or mailing list, this mailing list is for development django itself. понедельн

Re: Proposal for a new key in settings.DATABASE dict

2015-06-22 Thread rodolphe . quiedeville
Thanks Andriy, I missed that, is this new in 1.8 ? Le lundi 22 juin 2015 17:06:46 UTC+2, Andriy Sokolovskiy (coldmind) a écrit : > > I think due to > https://github.com/django/django/blob/8047e3666b0b50bb04e6f16c2a4fb21ddfd5713f/django/db/backends/postgresql_psycopg2/base.py#L162 > > you can s

Re: Proposal for a new key in settings.DATABASE dict

2015-06-22 Thread Andriy Sokolovskiy (coldmind)
I think due to https://github.com/django/django/blob/8047e3666b0b50bb04e6f16c2a4fb21ddfd5713f/django/db/backends/postgresql_psycopg2/base.py#L162 you can set application_name as the part of OPTIONS while configuration of your database, so it will be passed to psycopg2.connect. понедельник, 22

Proposal for a new key in settings.DATABASE dict

2015-06-22 Thread rodolphe . quiedeville
Hi, Be aware I will never speak about Django application as often used in Django developpement, here the string **application_name** is not the name of a Django'app. PostgreSQL permits on connection to specify a string that represent the name of application that connect, useful to identify huma