def backend_data(self, backend_obj):
        actual = {}
        actual[u"id"] = backend_obj.id
        actual[u"case"] = unicode(
            self.get_detail_url("case", str(backend_obj.case.id)))
        actual[u"name"] = unicode(backend_obj.name)
        actual[u"created_by"] = None
        actual[u"modified_by"] = None
        actual[u"modified_on"] = unicode(backend_obj.modified_on.strftime("%Y-%m-%dT%H:%M:%S"))
        actual[u"priority"] = unicode(None)
        actual[u"description"] = unicode(backend_obj.description)
        actual[u"productversion"] = unicode(
            self.get_detail_url("productversion",
                backend_obj.productversion.id))
        actual[u"productversion_name"] = unicode(backend_obj.productversion.name)
        actual[u"status"] = unicode(backend_obj.status)
        actual[u"resource_uri"] = unicode(
            self.get_detail_url(self.resource_name, str(backend_obj.id)))
        actual[u"environments"] = [unicode(
            self.get_detail_url("environment", str(env.id))
                ) for env in backend_obj.environments.all()]
        actual[u"tags"] = [unicode(self.get_detail_url("tag", str(tag.id))
                                  ) for tag in backend_obj.tags.all()]
#        actual[u"attachments"] = [unicode(self.get_detail_url("attachment",
#             str(attch.id))) for attch in backend_obj.attachments.all()]
        actual[u"steps"] = [unicode(
                    self.get_detail_url("casestep", str(step.id)))
             for step in backend_obj.steps.all()]

        return actual
Query's the database for the object's current values. Output is a
dataset/ETHPy150Open mozilla/moztrap/tests/model/library/api/test_caseversion_resource.py/CaseVersionResourceTest.backend_data