summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):