From: David ‘Bombe’ Roden Date: Wed, 8 May 2013 20:25:34 +0000 (+0200) Subject: Add artist model. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a6373925ac4f10fc66743d0d0cc3b94324b789d5;p=demoscenemusic.git Add artist model. --- diff --git a/data/models.py b/data/models.py index 71a8362..95e69eb 100644 --- a/data/models.py +++ b/data/models.py @@ -1,3 +1,7 @@ from django.db import models -# Create your models here. +class Artist(models.Model): + name = models.CharField(max_length = 80) + + def __unicode__(self): + return name