Views now working, basic construction complete

This commit is contained in:
2010-02-25 22:44:59 +00:00
parent 180b344c72
commit c0a5f75504
12 changed files with 278 additions and 9 deletions

View File

@@ -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)