Created the Song model #2
This commit is contained in:
+6
-1
@@ -1,3 +1,8 @@
|
|||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
# Create your models here.
|
class Song(models.Models):
|
||||||
|
title = models.CharField(max_length=70)
|
||||||
|
albumn = models.CharField(max_length=70)
|
||||||
|
year = models.IntegerField()
|
||||||
|
genre = models.CharField(max_length=70)
|
||||||
|
track_number = models.IntegerField()
|
||||||
|
|||||||
Reference in New Issue
Block a user