ソースを参照

Fix of the fix of base_class

Quentin Bonaventure 7年前
コミット
a3e048dcd3
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      lodel/leapi/datahandlers/base_classes.py

+ 1
- 1
lodel/leapi/datahandlers/base_classes.py ファイルの表示

@@ -63,7 +63,7 @@ class DataHandler(object):
63 63
             if 'uniq' in kwargs and not self.is_uniq():
64 64
                 message = "Parameter 'uniq' has to be set to True when 'primary_key' is not False"
65 65
                 raise LodelException(message)
66
-            self.uniq = False
66
+            self.uniq = True
67 67
 
68 68
     ## Fieldtype name
69 69
     @classmethod

読み込み中…
キャンセル
保存