from django.db import models

from model_utils.models import TimeStampedModel


class Favorite(TimeStampedModel):

    user = models.ForeignKey("auth.User")
    package = models.ForeignKey("packages.Package")

    class Meta:
        unique_together = ("user", "package")

2ef366ae27635e3ada07cd2e850eafe6f5566950
<mask token>

<mask token>


class Favorite(TimeStampedModel):
    <mask token>
    <mask token>


    class Meta:
        unique_together = 'user', 'package'

<mask token>


class Favorite(TimeStampedModel):
    user = models.ForeignKey('auth.User')
    package = models.ForeignKey('packages.Package')


    class Meta:
        unique_together = 'user', 'package'

from django.db import models
from model_utils.models import TimeStampedModel


class Favorite(TimeStampedModel):
    user = models.ForeignKey('auth.User')
    package = models.ForeignKey('packages.Package')


    class Meta:
        unique_together = 'user', 'package'

from django.db import models

from model_utils.models import TimeStampedModel


class Favorite(TimeStampedModel):

    user = models.ForeignKey("auth.User")
    package = models.ForeignKey("packages.Package")

    class Meta:
        unique_together = ("user", "package")
