Permalink
Browse files

fix no_content

  • Loading branch information...
1 parent a53939a commit 8dec1dc47a44c52677dcb90b70bc6bca527673b5 @aehlke committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 catnap/restviews.py
View
@@ -105,7 +105,7 @@ def get_response(self,
if content_type == '':
content_type = None
- return httpresponse_class(content,
+ return httpresponse_class(content or '',
content_type=content_type,
**httpresponse_kwargs)

0 comments on commit 8dec1dc

Please sign in to comment.