summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-05-03 16:18:13 -0700
committerAndrew Godwin <andrew@aeracode.org>2014-05-03 16:18:56 -0700
commit87d873ab476e2d213caa4cbdf11fddacb5755890 (patch)
treee9ac32f570490fc776779ad5aca29b222d883762 /docs
parentf8fa735dc2a0d06e904b458633d0143820a59ac0 (diff)
[1.7.x] Fix docs error with deconstruct() docs
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-model-fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt
index 2ef3d498bc..0d3901bd40 100644
--- a/docs/howto/custom-model-fields.txt
+++ b/docs/howto/custom-model-fields.txt
@@ -289,7 +289,7 @@ into ``kwargs`` yourself::
"Implements comma-separated storage of lists"
def __init__(self, separator=",", *args, **kwargs):
- self.separator = ","
+ self.separator = separator
super(CommaSepField, self).__init__(*args, **kwargs)
def deconstruct(self):