예제 #1
0
    def unlink_zone(self, zone):
        from zone import Zone

        if not isinstance(zone, Zone):
            zone = Zone.get(zone)
        return zone.unlink_campaign(self)
예제 #2
0
파일: banner.py 프로젝트: hint/django-openx
    def link_zone(self, zone):
        from zone import Zone

        if not isinstance(zone, Zone):
            zone = Zone.get(zone)
        return zone.link_banner(self)