Commit 5d4b4747 authored by Jayson Lim's avatar Jayson Lim

created three classes, named Artist, Album, and Song in the models.py file of...

created three classes, named Artist, Album, and Song in the models.py file of the Homepage app folder
parent 3bdd36b7
Pipeline #2689 canceled with stages
from django.db import models
class Artist(models.Model):
artist_name = models.CharField(max_length=255)
monthly_listeners = models.CharField(max_length=255)
class Album(models.Model):
album_name = models.CharField(max_length=255)
artist = models.CharField(max_length=255)
description = models.CharField(max_length=255)
release_date = models.CharField(max_length=255)
class Song(models.Model):
song_title = models.CharField(max_length=255)
artist = models.CharField(max_length=255)
album = models.CharField(max_length=255)
song_length = models.CharField(max_length=255)
# Create your models here.
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