Fix bug with account creation saving

This commit is contained in:
Trever Fischer
2012-03-05 17:58:00 -05:00
parent 19f75d12d0
commit 4752e54ac9

View File

@@ -14,6 +14,7 @@ class CurrencyAccount(models.Model):
def save(self, *args, **kwargs):
if not self.username:
self.username = self.profile.mc_username
super(CurrencyAccount, self).save(*args, **kwargs)
class Quote(models.Model):
text = models.CharField(max_length=50)