Added Blacklist Levels

This commit is contained in:
2011-06-02 11:57:20 +01:00
parent 31ff6c372f
commit d2406d6614
6 changed files with 217 additions and 5 deletions

View File

@@ -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'),
)