mirror of
https://github.com/jazzband/django-constance.git
synced 2026-05-10 08:35:03 +00:00
Added __unicode__ to Constance model.
This commit is contained in:
parent
b1c2847997
commit
d6e9521ffb
1 changed files with 3 additions and 0 deletions
|
|
@ -18,3 +18,6 @@ class Constance(models.Model):
|
|||
verbose_name = _('constance')
|
||||
verbose_name_plural = _('constances')
|
||||
db_table = 'constance_config'
|
||||
|
||||
def __unicode__(self):
|
||||
return self.key
|
||||
|
|
|
|||
Loading…
Reference in a new issue