def __repr__(self):
        if self.is_app():
            return self.app
        if self.is_model():
            return "%s.%s" % (self.app, self.model.__name__)
        if self.is_field():
            return "%s.%s.%s" % (self.app, \
                    self.model.__name__, self.field.name)
dataset/ETHPy150Open aerosol/django-dilla/dilla/__init__.py/AbstractRecord.__repr__/original