Commit 3852f9d8 authored by Nicholo Pardines's avatar Nicholo Pardines

Changed the lyric field of the song model into a TextField to follow best...

Changed the lyric field of the song model into a TextField to follow best practices with unkown character length
parent d65904f2
from django.contrib import admin from django.contrib import admin
from .models import Song, Album, Artist
# Register your models here. # Register your models here.
\ No newline at end of file
...@@ -36,4 +36,4 @@ class Song(models.Model): ...@@ -36,4 +36,4 @@ class Song(models.Model):
album = models.ForeignKey(Album, on_delete=models.CASCADE) album = models.ForeignKey(Album, on_delete=models.CASCADE)
song_length = models.IntegerField() song_length = models.IntegerField()
music_video = models.BooleanField() music_video = models.BooleanField()
lyrics = models.CharField() lyrics = models.TextField()
\ No newline at end of file \ 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