Commit 4bc557ad authored by Tanya's avatar Tanya

edited models.py, added Artist, Album, Song models

parent 2f72fb63
Pipeline #2658 failed with stages
from django.db import models from django.db import models
# Create your models here. class Artist(models.Model):
artist_name = models.TextField()
monthly_listeners = models.IntegerField()
class Album(models.Model):
album_name = models.TextField()
artist = models.TextField()
description = models.TextField()
release_date = models.DateField()
class Song(models.Model):
song_title = models.TextField()
artist = models.TextField()
album = models.TextField()
song_length = models.IntegerField()
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