Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix no_content

  • Loading branch information...
commit 8dec1dc47a44c52677dcb90b70bc6bca527673b5 1 parent a53939a
Alex Ehlke authored April 03, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  catnap/restviews.py
2  catnap/restviews.py
@@ -105,7 +105,7 @@ def get_response(self,
105 105
         if content_type == '':
106 106
             content_type = None
107 107
 
108  
-        return httpresponse_class(content,
  108
+        return httpresponse_class(content or '',
109 109
                                   content_type=content_type,
110 110
                                   **httpresponse_kwargs)
111 111
 

0 notes on commit 8dec1dc

Please sign in to comment.
Something went wrong with that request. Please try again.