#7768: HttpResponseRedirect causes a TypeError 'str' object is not callable in
base.py
------------------------------------------------------------------------+---
Reporter: William Martinez Pomares <[EMAIL PROTECTED]> |
Owner: nobody
Status: closed |
Milestone:
Component: Core framework |
Version: SVN
Resolution: worksforme |
Keywords:
Stage: Unreviewed |
Has_patch: 0
Needs_docs: 0 |
Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------------------+---
Comment (by William Martinez <[EMAIL PROTECTED]>):
Hello.
I'm the original person that wrote the ticket. It is NOT a tutorial
problem I talked about, so this is not a django-users question.
Please read carefully:
In following the tutorial, I wrote something wrong, so it was supposed to
fail.
I expected to see an error of method or view not found. Instead I saw
another error, the one " 'str' object not callable' at base.py.
Following other bugs, it seems it actually raise an exception that is
caught and ignored, leading to an error later on at base.py.
Bug 6442 explains this.
So, in summary:
-> If you have a typo in the view method, it will not tell you that. It
will throw a misleading exception " 'str' object not callable' at base.py.
THAT, is the bug.
I won't reopen the ticket, if you fix bug 6442 it may get fixed.
Thanks.
William Martinez.
--
Ticket URL: <http://code.djangoproject.com/ticket/7768#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---