whoa, urlencode takes dicts and this was failing silently all along
parent
f2b715f3e8
commit
be6a1082c2
|
@ -105,7 +105,7 @@ class Transaction(models.Model):
|
|||
|
||||
@property
|
||||
def ack_link(self):
|
||||
return 'https://unglue.it/supporter/%s'%urllib.urlencode(self.user.username) if not self.anonymous else ''
|
||||
return 'https://unglue.it/supporter/%s' % urllib.quote(self.user.username) if not self.anonymous else ''
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if not self.secret:
|
||||
|
|
Loading…
Reference in New Issue