return priority as string in display details
This commit is contained in:
parent
2ec5e40f41
commit
2bbd3e7994
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ class LocationGroup(Location, models.Model):
|
|||
result['display'].insert(3, (_('Category'), self.category.title))
|
||||
result['display'].extend([
|
||||
(_('color'), self.color),
|
||||
(_('priority'), self.priority),
|
||||
(_('priority'), str(self.priority)),
|
||||
])
|
||||
if editor_url:
|
||||
result['editor_url'] = reverse('editor.locationgroups.edit', kwargs={'pk': self.pk})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue