From e7047053833d791426871835106c2f12517e7adc Mon Sep 17 00:00:00 2001 From: Meurig Freeman Date: Mon, 31 Oct 2011 04:02:40 +0000 Subject: whitespace fix --- djangorestframework/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'djangorestframework') diff --git a/djangorestframework/views.py b/djangorestframework/views.py index f8434b40..3829e7c0 100644 --- a/djangorestframework/views.py +++ b/djangorestframework/views.py @@ -113,7 +113,7 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView): self.headers = {} # Calls to 'reverse' will not be fully qualified unless we set the scheme/host/port here. - orig_prefix = get_script_prefix() + orig_prefix = get_script_prefix() prefix = '%s://%s' % (request.is_secure() and 'https' or 'http', request.get_host()) set_script_prefix(prefix + orig_prefix) @@ -157,7 +157,7 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView): # merge with headers possibly set at some point in the view response.headers.update(self.headers) - set_script_prefix(orig_prefix) + set_script_prefix(orig_prefix) return self.render(response) -- cgit v1.2.3