How do I print some python function output to console (for debugging purposes, while using manage.py runserver) from within a django template
You could put pdb on the form field render surely?
If you really want to spit the field value out to some sort of log then I recommend using logging and putting the logger into the form field's unicode method (or str depending on what version of django).
I am working on a custom Django form field and accompanying widget. While rendering the template, i would like to inspect the form.field as a python object.
How do I do that, because anything in a Django template outside of template tags and filters is rendered as text.