X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/01a66d144c3ac6539991c5b9f00e1bd5bab132ee..dbccf6bf1ed7fca957b45a477c9b5d4d531fa740:/signals.py?ds=inline diff --git a/signals.py b/signals.py index 875039d..3653c54 100644 --- a/signals.py +++ b/signals.py @@ -5,11 +5,4 @@ entity_class_prepared = Signal(providing_args=['class']) view_about_to_render = Signal(providing_args=['request', 'extra_context']) view_finished_rendering = Signal(providing_args=['response']) page_about_to_render_to_string = Signal(providing_args=['request', 'extra_context']) -page_finished_rendering_to_string = Signal(providing_args=['string']) - - -def replace_sender_response(sender, response): - """Helper function to swap in a new response.""" - def render_to_response(self, *args, **kwargs): - return response - sender.actually_render_to_response = render_to_response \ No newline at end of file +page_finished_rendering_to_string = Signal(providing_args=['string']) \ No newline at end of file