Explorar el Código

Fix of the fix of base_class

Quentin Bonaventure hace 7 años
padre
commit
a3e048dcd3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lodel/leapi/datahandlers/base_classes.py

+ 1
- 1
lodel/leapi/datahandlers/base_classes.py Ver fichero

@@ -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…
Cancelar
Guardar