def get_urls(self):
    clone_view = ClonePageView.as_view(model=self.model, has_permission=self.has_add_permission)
    unpublish_view = UnpublishView.as_view(model=self.model, has_change_permission=self.has_change_permission)
    return ([url('^(.+)/clone/$', self.admin_site.admin_view(clone_view), name='widgy_mezzanine_widgypage_clone'), url('^(.+)/unpublish/$', self.admin_site.admin_view(unpublish_view), name='widgy_mezzanine_widgypage_unpublish')] + super(WidgyPageAdmin, self).get_urls())
def get_urls(self):
    clone_view = ClonePageView.as_view(model=self.model, has_permission=self.has_add_permission)
    unpublish_view = UnpublishView.as_view(model=self.model, has_change_permission=self.has_change_permission)
    return ([url('^(.+)/clone/$', self.admin_site.admin_view(clone_view), name='widgy_mezzanine_widgypage_clone'), url('^(.+)/unpublish/$', self.admin_site.admin_view(unpublish_view), name='widgy_mezzanine_widgypage_unpublish')] + super(WidgyPageAdmin, self).get_urls())