Files
dss.api/spa/models/tracklist.py
Fergal Moran 6f9f29f5fc Initial commit
2015-04-30 23:17:58 +01:00

14 lines
521 B
Python
Executable File

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)