

def _create_object(self, model):
    "\n        Create a model with an attached Media object via GFK. We can't\n        load content via a fixture (since the GenericForeignKey relies on\n        content type IDs, which will vary depending on what other tests\n        have been run), thus we do it here.\n        "
    e = model.objects.create(name='This Week in Django')
    Media.objects.create(content_object=self, url='http://example.com/podcast.mp3')
    return e

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py GenericInlineAdminParametersTest._create_object/VarMisuse@35/152 `e`->`self`