From a6373925ac4f10fc66743d0d0cc3b94324b789d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 8 May 2013 22:25:34 +0200 Subject: [PATCH] Add artist model. --- data/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.7.4