mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-28 04:09:51 +00:00
9 lines
328 B
Python
9 lines
328 B
Python
from spa.models.basemodel import BaseModel
|
|
from spa.models.tracklist import Tracklist
|
|
|
|
from django.db import models
|
|
|
|
class PurchaseLink(BaseModel):
|
|
track = models.ForeignKey(Tracklist, related_name='purchase_link', on_delete=models.CASCADE)
|
|
url = models.URLField()
|
|
provider = models.CharField(max_length=255) |