commit | 9d5694ea564e13939cdcd3be815c47194f8a5cfc | [log] [tgz] |
---|---|---|
author | Jeremy Mowery <jermowery@email.arizona.edu> | Sun Apr 10 12:36:57 2016 -0700 |
committer | Jeremy Mowery <jermowery@email.arizona.edu> | Sun Apr 10 12:36:57 2016 -0700 |
tree | caaae6b7ff8a12e728f6c215a737da429075a9eb | |
parent | 461180a9e90a5c181b9fd5e7a0899a8118f06449 [diff] |
Fix saving bug
diff --git a/xos/services/vpn/admin.py b/xos/services/vpn/admin.py index e34953b..26887078 100644 --- a/xos/services/vpn/admin.py +++ b/xos/services/vpn/admin.py
@@ -301,7 +301,7 @@ "build-client-full " + certificate + " nopass") obj.tenant.enacted = None obj.tenant.save() - obj.delete() + obj.save() # Associate the admin forms with the models. admin.site.register(VPNService, VPNServiceAdmin)