]> git.0d.be Git - django-panik-combo.git/blobdiff - panikombo/forms.py
add additional "and_tags" field to auto selection, for ANDing criterias
[django-panik-combo.git] / panikombo / forms.py
index 6e499e01de32848b813c825199d632479042f51c..8cb67c53d02aa3ab4036b6678dcaee6793a400f1 100644 (file)
@@ -53,14 +53,14 @@ class EpisodeCellForm(forms.ModelForm):
 class EpisodeAutoSelectionCellForm(forms.ModelForm):
     class Meta:
         model = EpisodeAutoSelectionCell
-        fields = ('title', 'tags', 'category', 'period')
+        fields = ('title', 'tags', 'and_tags', 'category', 'period')
         widgets = {'tags': TagWidget()}
 
 
 class NewsItemAutoSelectionCellForm(forms.ModelForm):
     class Meta:
         model = NewsItemAutoSelectionCell
-        fields = ('title', 'tags', 'category', 'future')
+        fields = ('title', 'tags', 'and_tags', 'category', 'future')
         widgets = {'tags': TagWidget()}