tastypie_swagger/views.py
def render_to_response(self, context, **response_kwargs):
        """
        Returns a response with a template rendered with the given context.
        """
        for k in ['params','view']:
            if k in context:
                del context[k]
        return self.response_class(
            json.dumps(context),
            content_type='application/json',
            **response_kwargs
        )

        Returns a response with a template rendered with the given context.
        
Returns a response with a template rendered with the given context.
Returns a response with a template rendered with the given context .
def render_to_response(self, context, **response_kwargs):
        for k in ['params','view']:
            if k in context:
                del context[k]
        return self.response_class(
            json.dumps(context),
            content_type='application/json',
            **response_kwargs
        )
def render_to_response ( self , context , ** response_kwargs ) : for k in [ 'params' , 'view' ] : if k in context : del context [ k ] return self . response_class ( json . dumps ( context ) , content_type = 'application/json' , ** response_kwargs )
Returns a response with a template rendered with the given context.
Returns a response with a template rendered with the given context .
"""
        Returns a response with a template rendered with the given context.
        """
self
context