-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON decode Error for test_remote_project demo #59
Comments
I just tried on a fresh install and I see no problem on these urls:
I'm sorry but I have no python 2.6 install anywhere ... What did you do exactly to get this stacktrace ? |
Switched to a python 2.7 just in case, still got this error
|
Can you please explain step by step how you get the error please ? Are you sure that you got both projects running ? test_project on On Wed, Nov 7, 2012 at 11:43 AM, Dominique Guardiola <
http://blog.yourlabs.org |
mmm... RTFD sorry.... |
Well I feel a lot better now 🍻 You might also want to check out the video. Enjoy django-autocomplete-light |
Actually, it shouldn't crash like this if the remote server is down. It should just propose local results instead of trying to decode JSON. Would you like to contribute this ? |
I was just evaluating your package for my project needs |
Of course, the autocomplete you looked at is AutocompleteRestModel, which of course implies usage of models. There are many ways to achieve what you want. Choosing the right way depends on your specifications. For the autocomplete choices, you should override For the autocomplete input, you could use The rest is standard Django: add an extra field (with or without the widget), do your stuff in clean_your_extra_field_name(). Did you read all the docs already ? If you need extra help, feel free to fork this repo, and create your use case in an app of test_project like Hope this helps. |
You should really read this: http://django-autocomplete-light.readthedocs.org/en/latest/forms.html I think it will help you understand the whole django-autocomplete-light app, and make your decisions. |
Perhaps this is linked to the fact I'm using python 2.6 :
The text was updated successfully, but these errors were encountered: