from django.db import models
from django.contrib.auth.models import User
# Create your models here.

class Playlist(models.Model):
	user = models.ForeignKey(User)
	songName = models.CharField(max_length=128, verbose_name = "Song's Name")
	url = models.URLField(verbose_name = "Song's URL")
	favorite = models.BooleanField(default=False)

	class Meta:
		verbose_name = "Playlist"

	def __unicode__(self):
		return self.songName
4da1971cb9bce82ca2477d14ef05e5fc589aebe3
<mask token>


class Playlist(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        verbose_name = 'Playlist'
    <mask token>

<mask token>


class Playlist(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        verbose_name = 'Playlist'

    def __unicode__(self):
        return self.songName

<mask token>


class Playlist(models.Model):
    user = models.ForeignKey(User)
    songName = models.CharField(max_length=128, verbose_name="Song's Name")
    url = models.URLField(verbose_name="Song's URL")
    favorite = models.BooleanField(default=False)


    class Meta:
        verbose_name = 'Playlist'

    def __unicode__(self):
        return self.songName

from django.db import models
from django.contrib.auth.models import User


class Playlist(models.Model):
    user = models.ForeignKey(User)
    songName = models.CharField(max_length=128, verbose_name="Song's Name")
    url = models.URLField(verbose_name="Song's URL")
    favorite = models.BooleanField(default=False)


    class Meta:
        verbose_name = 'Playlist'

    def __unicode__(self):
        return self.songName

from django.db import models
from django.contrib.auth.models import User
# Create your models here.

class Playlist(models.Model):
	user = models.ForeignKey(User)
	songName = models.CharField(max_length=128, verbose_name = "Song's Name")
	url = models.URLField(verbose_name = "Song's URL")
	favorite = models.BooleanField(default=False)

	class Meta:
		verbose_name = "Playlist"

	def __unicode__(self):
		return self.songName