I have made a little progress on the problem I posted about earlier
(<a href="http://groups.google.com/group/django-users/browse_thread/
thread/100679d9c298dc52/ffa1564be0c4b276?hl=en&lnk=gst&q=tree
+admin#ffa1564be0c4b276">creating tree inputs in the admin</a>) but am
getting stuck on what i am sure is a very minor point.

warning, i am sure this is a very n00b question.  i've only been using
django/python for about one week now.

http://pastebin.com/d6bab03fe

right now i am getting an error on line 19 - "two arguments are
required."  but, if i try to pass self as the first argument, it says
self is not defined.

my background is php - i am getting the feeling that self is not
necessarily the same thing as $this in php (or 'this' in javascript)
can someone illuminate what this means, why (if i do) have to have
self as the first argument in my def MyStyleAdminForm, and how i need
to pass it from within the class?

thanks!

aaron

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