Well, I am actually inspecting code from the tastypie django library -
-So there is lots of code --But an example is below:
In the Variables List:

Variables:
instance: User
self: ForeignRelatedObjectsDescriptor
     | .related: RelatedObject
superclass: <class 'django.db.models.manager.Manager'>

(self is expanded)

in the console I type:

>>> dir(self)
['__class__', '__delattr__', '__dict__', '__doc__', '__format__',
'__get__', '__getattribute__', '__hash__', '__init__', '__module__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__set__',
'__setattr__', '__sizeof__', '__str__', '__subclasshook__',
'__weakref__', 'create_manager', 'delete_manager', 'related']

>>> getattr(self, 'related')
<RelatedObject: app:profile related to user>
('related' appears in the Variables list)

>>> getattr(self, 'delete_manager')
<bound method ForeignRelatedObjectsDescriptor.delete_manager of
<django.db.models.fields.related.ForeignRelatedObjectsDescriptor
object at 0x1bdaed0>>
('delete_manager' does not appear in Variables list -- Neither does
create_manager)

Thanks, Asaf

On Tue, Aug 14, 2012 at 11:53 AM, Andreas Kloeckner
<[email protected]> wrote:
> asaf ebgi <[email protected]> writes:
>
>> Hello -- Often objects I expand in the side-pane variables list don't
>> show all members. Even after '*' reveals the hidden members, many are
>> still missing. I end up having to go to console in order to retrieve
>> object attribute values. Is this normal? Am I missing something?
>> Thanks, Asaf
>
> Can you send an exact sequence of steps (plus maybe a bit of code) to 
> reproduce this?
>
> Thanks!
> Andreas

_______________________________________________
Pudb mailing list
[email protected]
http://lists.tiker.net/listinfo/pudb

Reply via email to