Move class and form class functions to the utils module, issue #56: remove whilelist and blacklist support

This commit is contained in:
Roberto Rosario
2014-10-21 03:21:32 -04:00
parent f8fe2ada0e
commit 0d6b7dfbc6
5 changed files with 153 additions and 71 deletions
-3
View File
@@ -40,9 +40,6 @@ logger = logging.getLogger(__name__)
class Source(models.Model):
title = models.CharField(max_length=64, verbose_name=_(u'Title'))
enabled = models.BooleanField(default=True, verbose_name=_(u'Enabled'))
# TODO: remove whitelist and blacklists
whitelist = models.TextField(blank=True, verbose_name=_(u'Whitelist'), editable=False)
blacklist = models.TextField(blank=True, verbose_name=_(u'Blacklist'), editable=False)
objects = InheritanceManager()