@property
    def datamodel(self):
        try:
            return self.pad.db.datamodels[self._data['_model']]
        except LookupError:
            # If we cannot find the model we fall back to the default one.
            return self.pad.db.default_model
Returns the data model for this record.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Record.datamodel