aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/app/views.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-20 18:58:48 +0000
committerRob Austein <sra@hactrn.net>2015-10-20 18:58:48 +0000
commit8fb4de3c1267c58c34a880026dd7cc75b1b6f960 (patch)
tree4c0fae1f58d19dd8f4bf3bc9621332e63df070bc /rpki/gui/app/views.py
parent517079e5dbf12b062dc12638fa9620fe9642bb70 (diff)
Change <self/> (etc) to <tenant/> (etc). "self" always was a really
bad choice for something implemented in Python, holdover from an older specification, but Django ORM's troubles with "self" as a keyword argument were the last straw. Enough already. Backwards compatability should be a straightforward data migration. svn path=/branches/tk705/; revision=6134
Diffstat (limited to 'rpki/gui/app/views.py')
-rw-r--r--rpki/gui/app/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/gui/app/views.py b/rpki/gui/app/views.py
index d9b3fee3..28b8a498 100644
--- a/rpki/gui/app/views.py
+++ b/rpki/gui/app/views.py
@@ -1215,7 +1215,7 @@ def resource_holder_delete(request, pk):
form = forms.Empty(request.POST)
if form.is_valid():
z = Zookeeper(handle=conf.handle, logstream=log)
- z.delete_self()
+ z.delete_tenant()
z.synchronize_deleted_ca()
return redirect(resource_holder_list)
else: