mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-19 04:39:26 +00:00
Added Blacklist Levels
This commit is contained in:
@@ -63,3 +63,15 @@ BLACKLIST_SOURCE_CHOICES = (
|
||||
(BLACKLIST_SOURCE_INTERNAL, 'Internal'),
|
||||
(BLACKLIST_SOURCE_EXTERNAL, 'External'),
|
||||
)
|
||||
|
||||
BLACKLIST_LEVEL_BLACKLIST = 0
|
||||
BLACKLIST_LEVEL_WARNING = 1
|
||||
BLACKLIST_LEVEL_ADVISORY = 2
|
||||
BLACKLIST_LEVEL_NOTE = 3
|
||||
|
||||
BLACKLIST_LEVEL_CHOICES = (
|
||||
(BLACKLIST_LEVEL_BLACKLIST, 'Blacklist'),
|
||||
(BLACKLIST_LEVEL_WARNING, 'Warning'),
|
||||
(BLACKLIST_LEVEL_ADVISORY, 'Advisory'),
|
||||
(BLACKLIST_LEVEL_NOTE, 'Note'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user