summaryrefslogtreecommitdiff
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:26 -0700
commit13ec89f267fe19739bc727428edeecb273f24a65 (patch)
treee13b0f5b3cddb2c41faa135f81b680ad41723286
parentfaa8c71fd9e97794e73f7e7564446846d72d8bb2 (diff)
Fix docs error with deconstruct() 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):