Browse Source

Fix of the fix of base_class

Quentin Bonaventure 7 years ago
parent
commit
a3e048dcd3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/leapi/datahandlers/base_classes.py

+ 1
- 1
lodel/leapi/datahandlers/base_classes.py View File

@@ -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

Loading…
Cancel
Save