from django.db import models


class AdvManager(models.Manager):

    def confirm(self, adv):
        adv = self.get(id=adv.id)
        adv.is_confirmed = true
        adv.save()

752eeb308bb9266f45ecdce3f8ae311667bad6ec
<mask token>

<mask token>


class AdvManager(models.Manager):
    <mask token>

<mask token>


class AdvManager(models.Manager):

    def confirm(self, adv):
        adv = self.get(id=adv.id)
        adv.is_confirmed = true
        adv.save()

from django.db import models


class AdvManager(models.Manager):

    def confirm(self, adv):
        adv = self.get(id=adv.id)
        adv.is_confirmed = true
        adv.save()
