Add artist model.
authorDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Wed, 8 May 2013 20:25:34 +0000 (22:25 +0200)
committerDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Wed, 8 May 2013 20:25:34 +0000 (22:25 +0200)
data/models.py

index 71a8362..95e69eb 100644 (file)
@@ -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