Commit 8cb8d1c0 authored by Michal Čihař's avatar Michal Čihař

Correctly reference attributes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 3df90fa6
......@@ -47,7 +47,7 @@ class Billing(models.Model):
projects = models.ManyToManyField(Project, blank=True)
def __unicode__(self):
return u'{0} ({1})'.format(user, plan)
return u'{0} ({1})'.format(self.user, self.plan)
def count_repositories(self):
return SubProject.objects.filter(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment