mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-19 12:49:22 +00:00
Expand admin controls and fix a small issue
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user