Re: dir not working in manage.py runserver

2010-03-27 Thread tayfur yilmaz
absolutely 2010/3/27 Dennis Kaarsemaker > On za, 2010-03-27 at 04:13 -0700, serek wrote: > > Hi > > > > When I run manage.py shell and use this code: > > > > >>> from .page.models import * > > >>> p = Page() > > >>> dir(p) > > > > it is work well, but when in views.py I use the same then is

Re: dir not working in manage.py runserver

2010-03-27 Thread Dennis Kaarsemaker
On za, 2010-03-27 at 04:13 -0700, serek wrote: > Hi > > When I run manage.py shell and use this code: > > >>> from .page.models import * > >>> p = Page() > >>> dir(p) > > it is work well, but when in views.py I use the same then is no > output? Why? I need something similat to php var_dump o

dir not working in manage.py runserver

2010-03-27 Thread serek
Hi When I run manage.py shell and use this code: >>> from .page.models import * >>> p = Page() >>> dir(p) it is work well, but when in views.py I use the same then is no output? Why? I need something similat to php var_dump or pront_r (to source page or console). What I do wrong? -- You re