Inside a Django template, one can call an object method like this :
{{ my_object.my_method }}
The problem is when you get an exception/bug
Similar to S. Lott's answer, activate the management shell (python manage.py shell) and create the appropriate instance of my_object, call my_method. Or put exception handling in my_method and log the exception.