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
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/
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
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
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
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
6 matches
Mail list logo