Files
dss.api/spa/models/tracklist.py
2016-09-23 00:21:02 +01:00

14 lines
521 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')
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)