updated enricosuplico_music file

parent 32f6ffa0
......@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'homepage.apps.HomepageConfig'
]
MIDDLEWARE = [
......
......@@ -13,5 +13,5 @@ class Album(models.Model):
class Song(models.Model):
song_title = models.CharField(max_length = 50, unique = True)
artist = models.ForeignKey(Artist, on_delete = models.CASCADE)
album = models.ForeignKey(album, on_delete = models.CASCADE)
album = models.ForeignKey(Album, on_delete = models.CASCADE)
song_length = models.IntegerField
\ 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