Unwrap some fairly plain model fields. No code change, just textual.

- Legacy-Id: 5461
This commit is contained in:
Henrik Levkowetz 2013-02-24 21:20:50 +00:00
parent f7d979c83e
commit 64c4199877

View file

@ -119,12 +119,8 @@ class Rule(models.Model):
community_list = models.ForeignKey(CommunityList)
cached_ids = models.ManyToManyField(Document)
rule_type = models.CharField(
max_length=30,
choices=TYPES_OF_RULES)
value = models.CharField(
max_length=255)
rule_type = models.CharField(max_length=30, choices=TYPES_OF_RULES)
value = models.CharField(max_length=255)
class Meta:
unique_together= ("community_list", "rule_type", "value")