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

2012-12-17 Thread Bill Freeman
On Mon, Dec 17, 2012 at 3:02 PM, dariyoosh wrote: > *Yes, I suspect so. Try the following: >> >> python manage.py shell >> import djangodblog >> djangodblog.__file__ >> >> (That's two underscores on each side of the word file). This will print >> a string that I expect will end with

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

2012-12-17 Thread dariyoosh
> > *Yes, I suspect so. Try the following: > > python manage.py shell > import djangodblog > djangodblog.__file__ > > (That's two underscores on each side of the word file). This will print a > string that I expect will end with '.../djangodblog/__init__.pyc'* > *. Whatever is ther

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

2012-12-17 Thread Bill Freeman
On Mon, Dec 17, 2012 at 12:41 PM, dariyoosh wrote: > Hello there, > > > Thank you very much for your time and your attention to my question. > Your solution solved the problem ! > > It works pretty well now. :) > > Just one question, initially I had written > *'djangodblog.DBLogMiddleware'* > sim

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

2012-12-17 Thread dariyoosh
Hello there, Thank you very much for your time and your attention to my question. Your solution solved the problem ! It works pretty well now. :) Just one question, initially I had written *'djangodblog.DBLogMiddleware'* simply because this was what author has suggested in the book. But now t

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

2012-12-17 Thread Bill Freeman
I don't have djangodblog handy, but, at a guess try changing settings to use: *'djangodblog.middleware.DBLogMiddleware'* instead of: *'djangodblog.DBLogMiddleware'* -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

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

2012-12-17 Thread dariyoosh
Hello everybody Currently I'm learning python Web development by Django and I'm reading James McGaw' book: "Beginning Django E-Commerce" (Apress Edition). So far, I've followed step by step the instructions given in the book and everything worked pretty well: - installation of Django, MySQL,