projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Current work on simplifying the inventory tracking page.
[htsworkflow.git]
/
htsworkflow
/
frontend
/
inventory
/
models.py
diff --git
a/htsworkflow/frontend/inventory/models.py
b/htsworkflow/frontend/inventory/models.py
index dfeb7dbd63e4d0dae43b933cd4d55c164586d35a..06b1bfe52099658df8da3f0a292c42d9317d2da1 100644
(file)
--- a/
htsworkflow/frontend/inventory/models.py
+++ b/
htsworkflow/frontend/inventory/models.py
@@
-103,6
+103,9
@@
class ItemType(models.Model):
def __unicode__(self):
return u"%s" % (self.name)
+ class Meta:
+ ordering = ('name',)
+
class ItemStatus(models.Model):
name = models.CharField(max_length=64, unique=True)
notes = models.TextField(blank=True, null=True)