Browse Source

Missing Fixes

paginateur
Maël Kervella 8 years ago
parent
commit
955bf42b02
  1. 4
      cotisations/payment_utils/comnpay.py
  2. 2
      machines/models.py

4
cotisations/payment_utils/comnpay.py

@ -62,8 +62,8 @@ class Payment():
ret = ""
for key in array_tpe:
ret += '<input type="hidden" name="{k}" value="{v}"/>'.format(
'k'=key,
'v'=array_type[key]
k=key,
v=array_type[key]
)
return ret

2
machines/models.py

@ -592,7 +592,7 @@ class Mx(RevMixin, AclMixin, models.Model):
fichiers de zones"""
return "@ IN MX {prior} {name}".format(
prior=str(self.priority).ljust(3),
name=str(name)
name=str(self.name)
)
def __str__(self):

Loading…
Cancel
Save