#7768: HttpResponseRedirect causes a TypeError 'str' object is not callable in
base.py
------------------------------------------------------------------------+---
Reporter: William Martinez Pomares <[EMAIL PROTECTED]> |
Owner: nobody
Status: new |
Milestone:
Component: Core framework |
Version: SVN
Resolution: |
Keywords:
Stage: Unreviewed |
Has_patch: 0
Needs_docs: 0 |
Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------------------+---
Changes (by William Martinez Pomares <[EMAIL PROTECTED]>):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
An update.
I found out a problem in the views.py, the actual results() method that is
the one called when HttpResponseRedirect is executed (url is
'/polls/3/results/'). It had a problem in the name, so it was not found.
That may not cause an import issue like in ticket 6442 but it will
probably raise an exception. I was about to set this ticket as a duplicaet
of 6442, but it is slightly different in the cause. Still, it may be
resolved around the same command line.
Here, as in 6442, the error should indicate the view was not found instead
of the misleading TypeError at base.py.
William.
--
Ticket URL: <http://code.djangoproject.com/ticket/7768#comment:1>
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
-~----------~----~----~----~------~----~------~--~---