title: How can I convert a python object to string using the context?
body: <p>I am trying to render object instances in django templates the way forms do it. So somewhere in a view an object instance gets created: <code>my_object = MyObject()</code> and passed to the template in the context: <code>context['my_object'] = my_object</code>.</p>
  
  <p>When the template is processed, the <code>__str__()</code> method of <code>MyObject</code> is called to create a string to be filled in. For <code>MyObject</code> it looks something like this:</p>
  
  <pre><code>def __str__(self):
      """ Render template """
      return mark_safe(
          render_to_string(self.template, {'options': self.options})
      )
  </code></pre>
  
  <p>Since the object's template would like to add code to the CSS and JS blocks using sekizai, I need the rendering context. Is there a way (e.g., using an different method) to get this context?</p>