Added meta informartion to the document type model and ordering information [a-z]

This commit is contained in:
Roberto Rosario
2011-06-12 15:12:12 -04:00
parent 46330c2d17
commit b1b68bda67

View File

@@ -48,6 +48,11 @@ class DocumentType(models.Model):
def __unicode__(self):
return self.name
class Meta:
verbose_name = _(u'document type')
verbose_name_plural = _(u'documentstypes')
ordering = ['name']
class Document(models.Model):
"""