Files
dss.api/spa/models/tracklist.py
2018-11-01 19:45:33 +00:00

14 lines
547 B
Python

from spa.models.mix import Mix
from spa.models.basemodel import BaseModel
from django.db import models
class Tracklist(BaseModel):
mix = models.ForeignKey(Mix, related_name='tracklist', on_delete=models.CASCADE)
index = models.SmallIntegerField()
timeindex = models.TimeField(null=True)
description = models.CharField(max_length=255)
artist = models.CharField(max_length=255)
title = models.CharField(max_length=255)
remixer = models.CharField(max_length=255)
label = models.CharField(max_length=255)