Re: an elusive ValueError: 'str' object not callable -- lost.

2013-01-31 Thread Tom Evans
On Wed, Jan 30, 2013 at 6:59 PM, Maurice Asimov wrote: > Hey guys. > > I recently started getting a ValueError complaining that an str is not > callable -- in a very wierd place. > > This happens to some calls to messages.info(request, 'somethingsomething'), > in one of those cases __inside the dj

an elusive ValueError: 'str' object not callable -- lost.

2013-01-30 Thread Maurice Asimov
Hey guys. I recently started getting a ValueError complaining that an str is not callable -- in a very wierd place. This happens to some calls to messages.info(request, 'somethingsomething'), in one of those cases __inside the django console__ Traceback: Traceback: File "/app/.heroku/python/

Re: 'str' object not callable

2010-10-26 Thread bruno desthuilliers
On 26 oct, 17:45, John Yeukhon Wong wrote: > This is part of my views > > [[[code]]]  from mysite.views > > def site_root(request): >     return HttpResponse("This is the site root") > def hello(request): >     return HttpResponse("Hello World") > > [[endcode]] > > My URLConf > [[code]] > from dja

'str' object not callable

2010-10-26 Thread John Yeukhon Wong
This is part of my views [[[code]]] from mysite.views def site_root(request): return HttpResponse("This is the site root") def hello(request): return HttpResponse("Hello World") [[endcode]] My URLConf [[code]] from django.conf.urls.defaults import * urlpatterns = patterns('mysite.view

Re: 'str' object not callable

2009-07-18 Thread grant neale
Yes it's the URL. you are probably calling an incomplete view or wrong template name. Grant On 18 Jul 2009, at 09:29, adelaide_mike wrote: > > Hi > Can some kind soul tell me what, in principle, this means: > > 'str' object not callable > > ? It

'str' object not callable

2009-07-18 Thread adelaide_mike
Hi Can some kind soul tell me what, in principle, this means: 'str' object not callable ? It seems to be associated with urls.py Newbie just needs some additional words to help. Have looked at the history of this, which did not help. I do not want to know why the error is arising