              'content': content,
              'resource': self.resource,
              'request': self.resource.request,
              'response': self.resource.response,
              'form': form_instance
          })
          
          ret = template.render(context)
  
          # Munge DELETE Response code to allow us to return content
 
</s> remove # TODO: Display user login in top panel: http://stackoverflow.com/questions/806835/django-redirect-to-previous-page-after-login
 </s> add  </s> remove from itertools import chain
 </s> add 
            'form': form_instance,
            'login_url': login_url,
            'logout_url': logout_url,
              'content': content,
              'resource': self.resource,
              'request': self.resource.request,
              'response': self.resource.response,
            'form': form_instance,
            'login_url': login_url,
            'logout_url': logout_url,
          })
          
          ret = template.render(context)
  
          # Munge DELETE Response code to allow us to return content
keep keep keep keep replace keep keep keep keep keep
 Login/Logout and FlyWheel API link in HTML emitter 
flywheel/emitters.py