I have a Django app running on a production server. It is handled with gunicorn
0.14.2 behind nginx. When I reload the app (by reloading the gunicorn workers),
I get this error:
---
Traceback (most recent call last):
File
"/opt/app/venv/myapp/lib/python2.6/site-packages/django/core/handlers/b
he
best way to diagnose the problem?
Michael Dippery
mdipp...@gmail.com | www.monkey-robot.com
smime.p7s
Description: S/MIME cryptographic signature
e(self, obj):
call_records =
CallbackRequest.objects.filter(customer_id=obj.id).order_by('-call_back_date')
if call_records.count() > 0:
return call_records[0].call_back_date
else:
return None# Or whatever default you want to return
M
3 matches
Mail list logo