def _create_object(self, model):
        e = model.objects.create(name='This Week in Django')
        Media.objects.create(content_object=e, url='http://example.com/podcast.mp3')
        return e
Create a model with an attached Media object via GFK. We can't
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py/GenericInlineAdminParametersTest._create_object