Explorar o código

bug resuelto en la resolución del campo id

robert2206 %!s(int64=8) %!d(string=hai) anos
pai
achega
b66fa76460
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      models/models.py
  2. BIN=BIN
      models/models.pyc

+ 2 - 2
models/models.py

@@ -23,12 +23,12 @@ def serialize(self, exclude = []):
     for field in fields:
         if field in (exclude + DEFAULT_FIELDS_EXCLUDED):
             continue
-
         definition = fields[field]
 
-        if 'exportable' in definition or definition['readonly']:
+        if 'exportable' in definition:
             continue
 
+
         value = getattr(self, field)
 
         if definition['type'] in ('char', 'text', 'html', 'date', 'datetime'):

BIN=BIN
models/models.pyc