diff --git a/djangorestframework/__init__.py b/djangorestframework/__init__.py index 3c316629f..ceb76b3b3 100644 --- a/djangorestframework/__init__.py +++ b/djangorestframework/__init__.py @@ -59,7 +59,6 @@ def autodiscover(): continue import_module("%s.api" % app) - print 'aaaaaaaaaaaaa',app - + # autodiscover was successful, reset loading flag. LOADING = False diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py index bb26ad963..6e66cfe45 100644 --- a/djangorestframework/mixins.py +++ b/djangorestframework/mixins.py @@ -607,7 +607,6 @@ class ListModelMixin(object): """ Behavior to list a set of `model` instances on GET requests """ - # NB. Not obvious to me if it would be better to set this on the resource? # # Presumably it's more useful to have on the view, because that way you can diff --git a/djangorestframework/renderers.py b/djangorestframework/renderers.py index aae2cab25..9600ef571 100644 --- a/djangorestframework/renderers.py +++ b/djangorestframework/renderers.py @@ -109,7 +109,6 @@ class JSONRenderer(BaseRenderer): sort_keys = True except (ValueError, TypeError): indent = None - return json.dumps(obj, cls=DateTimeAwareJSONEncoder, indent=indent, sort_keys=sort_keys)