Added meta informartion to the document type model and ordering information [a-z]
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user