On Saturday 17 Jan 2009 2:42:16 pm Malcolm Tredinnick wrote: > > How I usually work with this sort of thing is to 'python manage.py > > shell' and then import whatever class i'm interested in and then do a > > dir() on the object to find out what methods and fields it has. > > dir() is typically less useful than help(), particularly when you're > starting out, since the latter's presentation is better and includes the > docstrings.
what you need to do is to use dir() to find out the method names and help on the method you want to get more info -- regards KG http://lawgon.livejournal.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---