dfc242084e
with docker compose file nextjs something something also includes migrations
8 lines
204 B
Python
8 lines
204 B
Python
from django.db import models
|
|
from .track import Track
|
|
|
|
class Playlist(models.Model):
|
|
def __str__(self):
|
|
return self.name
|
|
name = models.CharField(max_length=255)
|
|
tracks = models.ManyToManyField(Track) |