aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/relations.py
diff options
context:
space:
mode:
authorTom Christie2014-10-02 18:13:15 +0100
committerTom Christie2014-10-02 18:13:15 +0100
commitfec7c4b45812d22423e73ec3ab801857a55d7340 (patch)
tree86a26d374d7b627c464841700988aa5ff4712ef3 /rest_framework/relations.py
parentdf7b6fcf58417fd95e49655eb140b387899b1ceb (diff)
downloaddjango-rest-framework-fec7c4b45812d22423e73ec3ab801857a55d7340.tar.bz2
Browsable API tweaks
Diffstat (limited to 'rest_framework/relations.py')
-rw-r--r--rest_framework/relations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py
index 988b9ede..4f971917 100644
--- a/rest_framework/relations.py
+++ b/rest_framework/relations.py
@@ -249,6 +249,7 @@ class ManyRelation(Field):
You shouldn't need to be using this class directly yourself.
"""
initial = []
+ default_empty_html = []
def __init__(self, child_relation=None, *args, **kwargs):
self.child_relation = child_relation