summaryrefslogtreecommitdiffstats
path: root/askbot/forms.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-01-14 15:57:03 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-01-14 15:57:03 -0300
commit4cda312624af2d4d8465a64299aa6ba3a852c973 (patch)
tree584f5b4ecbd90fcd109f9a358b6072bbdb7b9417 /askbot/forms.py
parentfc29ed609c9ee996673f8f0f92e9cc35a18e317f (diff)
downloadaskbot-4cda312624af2d4d8465a64299aa6ba3a852c973.tar.gz
askbot-4cda312624af2d4d8465a64299aa6ba3a852c973.tar.bz2
askbot-4cda312624af2d4d8465a64299aa6ba3a852c973.zip
added language selector to the user profiles and to the ask question for
Diffstat (limited to 'askbot/forms.py')
-rw-r--r--askbot/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/forms.py b/askbot/forms.py
index dc0057fc..f96b4c5c 100644
--- a/askbot/forms.py
+++ b/askbot/forms.py
@@ -919,6 +919,7 @@ class AskForm(PostAsSomeoneForm, PostPrivatelyForm):
required=False, max_length=255,
widget=forms.TextInput(attrs={'size': 40, 'class': 'openid-input'})
)
+ language = forms.CharField(required=False, max_length=16)
def __init__(self, *args, **kwargs):
user = kwargs.pop('user', None)