Changes between Initial Version and Version 2 of Ticket #7768


Ignore:
Timestamp:
Jul 21, 2008, 10:29:15 PM (16 years ago)
Author:
Adrian Holovaty
Comment:

(Fixed formatting in description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7768 – Description

    initial v2  
    11Working with SVN revision 7930, following the tutorial, up to the place where the votes view is created.
    22The line in the vote() method
     3
     4{{{
    35   return HttpResponseRedirect(reverse('mysite.polls.views.results', args=(p.id,)))
     6}}}
    47
    58fails presenting a debug page that says:
    69
     10{{{
    711TypeError at /polls/1/results/
    812'str' object is not callable
     
    1216Exception Value:        'str' object is not callable
    1317Exception Location:     C:\Python25\lib\site-packages\django\core\handlers\base.py in get_response, line 85
     18}}}
    1419
    1520I have found some relates issues (like 4700) that point to the INSTALLED_APPS settings and how the django.contrib.auth affects the get_response. I tried eliminating that application and still the error shows.
Back to Top