mirror of
https://github.com/gamaio/gama_api.git
synced 2024-12-22 02:22:40 +00:00
api_owners return active status instead of id
This commit is contained in:
parent
16f0a963be
commit
7fcd9d6d2d
@ -16,7 +16,7 @@ class api_owners(models.Model):
|
||||
active = models.BooleanField(blank=False)
|
||||
|
||||
def __str__(self):
|
||||
return '%s (%s)' % (self.user.username, self.user.id)
|
||||
return '%s (%s)' % (self.user.username, self.active)
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
|
Loading…
Reference in New Issue
Block a user