from django.db import models
from common.v1.utils.helpers import get_url_friendly
from common.models import LifeTimeTrackingModel, ActiveModel

# Create your models here.
class Sponsor(ActiveModel):
    name = models.CharField(max_length=200, blank=True, null=True, default=None)
    website = models.URLField(blank=True, null=True, default=None)
    photo_url = models.URLField(blank=True, null=True, default=None)
    category = models.CharField(max_length=200, blank=True, null=True, default=None)

    def __str__(self):
        return self.name

    class Meta:
        verbose_name = "Sponsor"
        verbose_name_plural = "Sponsors"
        ordering = ("-created_at",)


4f35c8ce0fd1272dce82cac9424581df8d2ebfd6
<mask token>

<mask token>


class Sponsor(ActiveModel):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.name


    class Meta:
        verbose_name = 'Sponsor'
        verbose_name_plural = 'Sponsors'
        ordering = '-created_at',

<mask token>


class Sponsor(ActiveModel):
    name = models.CharField(max_length=200, blank=True, null=True, default=None
        )
    website = models.URLField(blank=True, null=True, default=None)
    photo_url = models.URLField(blank=True, null=True, default=None)
    category = models.CharField(max_length=200, blank=True, null=True,
        default=None)

    def __str__(self):
        return self.name


    class Meta:
        verbose_name = 'Sponsor'
        verbose_name_plural = 'Sponsors'
        ordering = '-created_at',

from django.db import models
from common.v1.utils.helpers import get_url_friendly
from common.models import LifeTimeTrackingModel, ActiveModel


class Sponsor(ActiveModel):
    name = models.CharField(max_length=200, blank=True, null=True, default=None
        )
    website = models.URLField(blank=True, null=True, default=None)
    photo_url = models.URLField(blank=True, null=True, default=None)
    category = models.CharField(max_length=200, blank=True, null=True,
        default=None)

    def __str__(self):
        return self.name


    class Meta:
        verbose_name = 'Sponsor'
        verbose_name_plural = 'Sponsors'
        ordering = '-created_at',

from django.db import models
from common.v1.utils.helpers import get_url_friendly
from common.models import LifeTimeTrackingModel, ActiveModel

# Create your models here.
class Sponsor(ActiveModel):
    name = models.CharField(max_length=200, blank=True, null=True, default=None)
    website = models.URLField(blank=True, null=True, default=None)
    photo_url = models.URLField(blank=True, null=True, default=None)
    category = models.CharField(max_length=200, blank=True, null=True, default=None)

    def __str__(self):
        return self.name

    class Meta:
        verbose_name = "Sponsor"
        verbose_name_plural = "Sponsors"
        ordering = ("-created_at",)

