浏览代码

Fix docs error with deconstruct() docs

Andrew Godwin 11 年之前
父节点
当前提交
13ec89f267
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/howto/custom-model-fields.txt

+ 1 - 1
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):