Django throws ImproperlyConfigured error when loading URLconf on startup

2012-11-28 Thread Michael Dippery
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

Why might a Django admin form hang (or, how can I diagnose the problem)?

2010-12-15 Thread Michael Dippery
he best way to diagnose the problem? Michael Dippery mdipp...@gmail.com | www.monkey-robot.com smime.p7s Description: S/MIME cryptographic signature

Re: getting back max date from a joined table for list_display

2010-12-16 Thread Michael Dippery
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