mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Now pulls the source details
This commit is contained in:
@@ -199,7 +199,9 @@ class OpTimerHandler(BaseHandler):
|
|||||||
|
|
||||||
|
|
||||||
class BlacklistHandler(BaseHandler):
|
class BlacklistHandler(BaseHandler):
|
||||||
|
model = Blacklist
|
||||||
allowed_methods = ('GET')
|
allowed_methods = ('GET')
|
||||||
|
fields = ('type', 'value', 'source', ('name'), 'created_date', 'expiry_date', 'reason')
|
||||||
|
|
||||||
def read(self, request):
|
def read(self, request):
|
||||||
if request.GET.get('value'):
|
if request.GET.get('value'):
|
||||||
|
|||||||
Reference in New Issue
Block a user