You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 1.2.4, I get the following error when trying to use a ManyToManyField:
Exception Type: ValueError
Exception Value: translation table must be 256 characters long
Exception Location: /opt/Projects/datamining/eggs/django_ajax_selects-1.2.4-py2.6.egg/ajax_select/fields.py in __init__, line 210
That seems to be a problem with the line that reads:
I've just encountered this error and it looks like the quick (though perhaps not best) work around for this error is to set your help_text to unicode, i.e., u"my help text". That hint was buried in the discussion cited above.
actually that particular error was much simpler: you supplied '' instead of u''
in the new release I have added a check for that common case, and the code for the monkey patching has changed so it doesn't try to translate your input anyway.
should be solved now
Using version 1.2.4, I get the following error when trying to use a ManyToManyField:
That seems to be a problem with the line that reads:
which doesn't seem to be valid Python: http://docs.python.org/library/string.html#string.translate
I would submit a patch but I'm not sure exactly what was even intended here.
thanks.
The text was updated successfully, but these errors were encountered: