def _get_model_fields(self, model=None):
    '\n            Inspect model and return list of model fields\n\n            :param model:\n                Model to inspect\n        '
    if (model is None):
        model = self.model
    return sorted(iteritems(model._fields), key=(lambda n: n[1].creation_counter))
Inspect model and return list of model fields

:param model:
    Model to inspect
def _get_model_fields(self, model=None):
    '\n            Inspect model and return list of model fields\n\n            :param model:\n                Model to inspect\n        '
    if (model is None):
        model = self.model
    return sorted(iteritems(model._fields), key=(lambda n: n[1].creation_counter))