mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 05:54:01 +03:00
remove print
This commit is contained in:
parent
a3af60651f
commit
8837903f83
|
@ -59,7 +59,6 @@ def autodiscover():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
import_module("%s.api" % app)
|
import_module("%s.api" % app)
|
||||||
print 'aaaaaaaaaaaaa',app
|
|
||||||
|
|
||||||
# autodiscover was successful, reset loading flag.
|
# autodiscover was successful, reset loading flag.
|
||||||
LOADING = False
|
LOADING = False
|
||||||
|
|
|
@ -607,7 +607,6 @@ class ListModelMixin(object):
|
||||||
"""
|
"""
|
||||||
Behavior to list a set of `model` instances on GET requests
|
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?
|
# 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
|
# Presumably it's more useful to have on the view, because that way you can
|
||||||
|
|
|
@ -109,7 +109,6 @@ class JSONRenderer(BaseRenderer):
|
||||||
sort_keys = True
|
sort_keys = True
|
||||||
except (ValueError, TypeError):
|
except (ValueError, TypeError):
|
||||||
indent = None
|
indent = None
|
||||||
|
|
||||||
return json.dumps(obj, cls=DateTimeAwareJSONEncoder, indent=indent, sort_keys=sort_keys)
|
return json.dumps(obj, cls=DateTimeAwareJSONEncoder, indent=indent, sort_keys=sort_keys)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user