What are the required options in order to enable djangodblog for error logging in a MySQL database?

2012-12-20 Thread dariyoosh
DEBUG is set to True within project settings.py). Consequently, I would like to ask is there any further parameter to define/enable? in order to force Django to update error logs in MySQL as they happen in real time? Thanks in advance, Regards, Dariyoosh -- You received this message beca

Re: A question about the Middleware module "djangodblog" and its "DBLogMiddleware" class

2012-12-17 Thread dariyoosh
cat /usr/lib/python2.7/site-packages/djangodblog/__init__.py* __version__ = (2, 2, 1) $ $ So it seems that my installation is different, in the book the author has used Django 1.1, whereas the version installed in my system is 1.4.2 Maybe the difference of the version explains the problem. Th

Re: A question about the Middleware module "djangodblog" and its "DBLogMiddleware" class

2012-12-17 Thread dariyoosh
the book? or simply this is a component missing from my Django installation? Once again, thanks a lot for your help! Regards, Dariyoosh On Monday, December 17, 2012 6:04:01 PM UTC+1, ke1g wrote: > > > I don't have djangodblog handy, but, at a guess try changing settings to > us

A question about the Middleware module "djangodblog" and its "DBLogMiddleware" class

2012-12-17 Thread dariyoosh
t;DBLogMiddleware" class* [17/Dec/2012 08:27:27] "GET / HTTP/1.1" 500 59 Any idea about this error? What causes this problem? Thanks in advance, Regards, Dariyoosh In the case where it might be helpful here is the content of the file settings.py of the project: # Django settin