Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13752 closed Uncategorized (invalid)

var_dump() equivelant?

Reported by: matthewo256 Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: Normal Keywords: debug
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

For debugging, I am used to having the ability to see the current contents of an object.
In PHP, this is var_dump.

I've tried {% debug %} in a template, which shows a list of objects. However, I am not able to see the contents.

Thanks,

Matthew

Change History (2)

comment:1 Changed 6 years ago by Alex Gaynor

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Trac is for filing bugs about Django, for questions about using Django you should either use the django-users mailing list or the #django channel on irc.freenode.net

comment:2 Changed 5 years ago by me@…

Easy pickings: unset
Severity: Normal
Type: Uncategorized
UI/UX: unset

Thanks Alex. Such a useful response. Bless you.

Note: See TracTickets for help on using tickets.
Back to Top