mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 20:44:03 +03:00
remove print
This commit is contained in:
parent
a3af60651f
commit
8837903f83
|
@ -59,7 +59,6 @@ def autodiscover():
|
|||
continue
|
||||
|
||||
import_module("%s.api" % app)
|
||||
print 'aaaaaaaaaaaaa',app
|
||||
|
||||
|
||||
# autodiscover was successful, reset loading flag.
|
||||
LOADING = False
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user