'Regression test for ticket 20664 - ensure the pk is properly quoted.'

def test_popup_dismiss_related(self):

    actor = Actor.objects.create(name=u'Palin', age=27)
    response = self.client.get((u'/test_admin/admin/admin_views/actor/?%s' % IS_POPUP_VAR))
    self.assertContains(response, (u'opener.dismissRelatedLookupPopup(window,    &#39;%s&#39;)' % actor.pk))
