mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Views now working, basic construction complete
This commit is contained in:
@@ -45,7 +45,8 @@ class Service(models.Model):
|
||||
api = models.CharField(max_length=200)
|
||||
|
||||
def __str__(self):
|
||||
return "%s: %s" % (self.name, self.api)
|
||||
#return "%s: %s" % (self.name, self.api)
|
||||
return self.name
|
||||
|
||||
class ServiceAccount(models.Model):
|
||||
user = models.ForeignKey(User, blank=False)
|
||||
|
||||
Reference in New Issue
Block a user