mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Export blacklist level via the API
This commit is contained in:
@@ -225,7 +225,7 @@ class OpTimerHandler(BaseHandler):
|
||||
class BlacklistHandler(BaseHandler):
|
||||
model = Blacklist
|
||||
allowed_methods = ('GET')
|
||||
fields = ('type', 'value', 'source', ('name', 'ticker'), 'created_date', 'expiry_date', 'reason')
|
||||
fields = ('type', 'value', 'level', 'source', ('name', 'ticker'), 'created_date', 'expiry_date', 'reason')
|
||||
|
||||
def read(self, request):
|
||||
if request.GET.get('value'):
|
||||
|
||||
Reference in New Issue
Block a user