added the attributes of the Models(Artist, Album, Song) from lab01

parents
Pipeline #2808 canceled with stages
from django.db import models
class Artist(models.Model):
artist_name = models.CharField(max_length = 100)
monthly_listeners = models.IntegerField(default = 0)
class Album(models.Model):
album_name = models.CharField(max_length = 100)
artist = models.CharField(max_length = 100)
description = models.CharField(max_length = 500)
release_date = models.DateField()
class Song(models.Model):
song_title = models.CharField(max_length = 100)
artist = models.CharField(max_length = 100)
album = models.CharField(max_length = 100)
song_length = models.IntegerField(default = 0)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment