projects
/
demoscenemusic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c2b8d
)
Add artist model.
author
David ‘Bombe’ Roden
<bombe@demoscenemusic.org>
Wed, 8 May 2013 20:25:34 +0000
(22:25 +0200)
committer
David ‘Bombe’ Roden
<bombe@demoscenemusic.org>
Wed, 8 May 2013 20:25:34 +0000
(22:25 +0200)
data/models.py
patch
|
blob
|
history
diff --git
a/data/models.py
b/data/models.py
index
71a8362
..
95e69eb
100644
(file)
--- 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