On Fri, Mar 13, 2009 at 6:03 PM, Shantp <sha...@gmail.com> wrote:
>
> I'm getting this error:
>
> AttributeError: 'NoneType' object has no attribute 'append'
>
> It's coming from this line in my template:
>
> {% scores_for_objects share_list as score_dict %}
>
> If I remove this line everything is fine. I wasn't getting this error
> before but I had to wipe my server and create a new db. Anyone know
> why this is happening?

Just a guess, but it sounds like you're assuming there will be data in
the table somewhere in your code. Try adding some data in for that
model and I bet the error disappears.

-- 
Frank Wiles
Revolution Systems
http://www.revsys.com
(800) 647-6298

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to