Re: Django 1.11 doesn't work well behind pgBouncer

2017-04-10 Thread Sergey Fursov
Accepted ticket - https://code.djangoproject.com/ticket/28062 2017-04-06 22:30 GMT+03:00 Sergey Fursov : > Hi! > > In our application stack we connect from our web/background workers to > postgres database through dedicated pgBouncer service. > pgBouncer use transaction poolin

Django 1.11 doesn't work well behind pgBouncer

2017-04-06 Thread Sergey Fursov
Hi! In our application stack we connect from our web/background workers to postgres database through dedicated pgBouncer service. pgBouncer use transaction pooling Connections work in autocommit mode. After upgrading to 1.11 version with new server-side cursors for iterator method, many of our DB

Re: why the else statement {% else %} is not working...?

2012-11-19 Thread Sergey Fursov
You can try next statements: {% if employees|length %} or {% employees.exists %} but second statement will generate additional database query 2012/11/19 muhammed riyas > def employees(request): > employees = Employeeprofile.all() > return render_to_response('main/list.html', { 'employee

Re: Unable to Store Decimal values to DecimalField

2012-09-27 Thread Sergey Fursov
As I see from the stack, error produced by book.save() in File "/var/opt/igp_acfs/acfs/bookproducts_manager.py", line 118 but in you code I can't this line of code. Do you really show the code, that related to error 2012/9/27 Laxmikant Gurnalkar > Hi , > >While storing decimal values to da