alviandk / django-voting

Automatically exported from code.google.com/p/django-voting
0 stars 0 forks source link

Patch to work with pinax-devel 0.7.2beta #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on any page that has {% scores_for_objects bookmarks as score_dict
%} or somethings similar with default social_project in pinax.

What is the expected output? What do you see instead?
Exppected that the page would load, instead traceback saying NoneType has
no append method.

There is a simple patch to managers.py here:
http://code.pinaxproject.com/tasks/task/253/

There might be something more granular or robust that you could do but that
patch fixes the problem for me so far.

Well, actually I'll we just upload it right here.  Line 42, added
conditional to avoid traceback with nonetype object.

Original issue reported on code.google.com by skylar.s...@gmail.com on 26 May 2009 at 12:02

Attachments:

GoogleCodeExporter commented 8 years ago
This patch has failed me working with different versions of everything.  Now, 
strangely I can switch to 1.0.2 final and the unmodified code works but on 
trunk 
neither the original code nor the little hack I made work.

Original comment by skylar.s...@gmail.com on 5 Jun 2009 at 9:26

GoogleCodeExporter commented 8 years ago
Duplicate of issue #24

Original comment by bros...@gmail.com on 26 Aug 2009 at 6:13