diff --git a/api/handlers.py b/api/handlers.py index 92453df..3730b88 100755 --- a/api/handlers.py +++ b/api/handlers.py @@ -199,7 +199,9 @@ class OpTimerHandler(BaseHandler): class BlacklistHandler(BaseHandler): + model = Blacklist allowed_methods = ('GET') + fields = ('type', 'value', 'source', ('name'), 'created_date', 'expiry_date', 'reason') def read(self, request): if request.GET.get('value'):