From 3baa0fc96fd1f08d088af4221e4d3333690f3375 Mon Sep 17 00:00:00 2001 From: Drewrey Lupton Date: Mon, 23 Jan 2017 22:54:48 -0500 Subject: [PATCH] Remove reference to paywall in delete_record - Fix delete route. The declaration of paywall was removed [here][1]. [1]: https://github.com/kennethreitz/elephant/commit/ef4657e618be03b28152fc7121828c92a262027d --- elephant.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/elephant.py b/elephant.py index 07a9e5b..261cbbf 100644 --- a/elephant.py +++ b/elephant.py @@ -235,8 +235,6 @@ def put_record(uuid): def delete_record(uuid): """Deletes a given record.""" - paywall(safe=False) - collection[uuid].delete() return redirect('/')