On Mon, 2009-02-16 at 08:49 -0800, peterandall wrote:
> Hi all,
> 
> I'm trying to access a list of users in forms.py I'm creating two
> lists and merging them in my view (new_bug) then passing them through
> when i create the form. I was going off answers on these two existing
> topics: 
> http://groups.google.com/group/django-users/browse_thread/thread/9dce5b8b0c1bfeb/b7f3e3753e1d8842
> and 
> http://groups.google.com/group/django-users/browse_thread/thread/809ec467d4a97386/8f7cddde9ff1ed19
> 
> You can see my current code here:
>   http://dpaste.com/121276/

Based on the code you've pasted there, there's a massive indentation
error in the form code. Everything is indented so as to be part of the
__init__ method, whereas the field definitions should be at the same
level of indentation as the "def __init__" line, since they're outside
the method.

Malcolm



--~--~---------~--~----~------------~-------~--~----~
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