Skip to content

Commit 3e62854

Browse files
committed
disable 'other' for now
1 parent fcdda34 commit 3e62854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ixxy_url_field/choice_with_other.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from django.conf import settings
33
from django.utils.encoding import force_unicode
44

5-
OTHER_CHOICE = '__other__'
5+
OTHER_CHOICE = ''
66

77
class ChoiceWithOtherWidget(forms.MultiWidget):
88
"""MultiWidget for use with ChoiceWithOtherField."""
@@ -46,7 +46,7 @@ def __init__(self, *args, **kwargs):
4646
break
4747
if not has_empty_choice:
4848
choices.insert(0, ('', '---------'))
49-
choices.append((OTHER_CHOICE, 'Other: '))
49+
#choices.append((OTHER_CHOICE, 'Other: '))
5050
fields = [
5151
forms.ChoiceField(choices=choices),
5252
forms.CharField(required=False)

0 commit comments

Comments
 (0)