mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Update admin.py
This commit is contained in:
parent
8700a05fbf
commit
83269447ae
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
#obj.renew_domain(length=month_length, unit=epp.Unit.MONTH)
|
||||
years = int(month_length/12)
|
||||
if years >= 1:
|
||||
obj.renew_domain(length=month_length/12)
|
||||
obj.renew_domain(length=years)
|
||||
else:
|
||||
self.message_user(
|
||||
request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue