Expand admin controls and fix a small issue

This commit is contained in:
2011-05-26 10:43:05 +01:00
parent ab86e0a550
commit 70ce707815
3 changed files with 11 additions and 5 deletions

View File

@@ -167,4 +167,9 @@ class ApplicationConfig(models.Model):
help_text="This allows HR staff to see the applicant's API keys")
def __unicode__(self):
return u'%s' % corporation
return u'%s' % self.corporation
class Meta:
verbose_name = 'Application Config'
verbose_name_plural = 'Application Configs'
ordering = ['corporation']