Open AvadootNachankar opened 9 years ago
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
You can't use any more recent version can you ?
But then I stuck with template related changes which are mentioned over here. I don't know how to go ahead.
Open static.html, you see that it's just trying to load some JS. If the JS is loaded in your page that it should work. Else, there might be some JS error in some browser version, in that case, paste browser version and JS error.
demos were not working when I given a try (facing problem in database setup required for test project to run after running command: ./manage.py cities_light).
Define not working, post commands, outputs, tracebacks, versions please.
from autocomplete_light import shortcuts as acl_shortcuts
class ClassA(acl_shortcuts.ModelForm)
...
==============
import autocomplete_light
class ClassA(autocomplete_light.ModelForm):
...
xyz = models.ForeignKey(XYZ)
abc = models.ForeignKey(ABC, null=True, blank=True)
Tests are run against jquery-2.1.4.js For Django 1.9 support, you should use autocomplete_light.shortcuts. Is there anywhere left in the docs or example code that led you to think otherwise ? There is no extra template code to add for the autocomplete to work, but if you want it to be fancy then you may.
settings.py
urls.py
autocomplete_light_registry.py
forms.py
base_template.html
But then I stuck with template related changes which are mentioned over here. I don't know how to go ahead.
template.html - I'm rendering field on template in the following manner:
Your help is greatly appreciated, also it would be nice if you can give a small demo because your demos were not working when I given a try (facing problem in database setup required for test project to run after running command: _./manage.py citieslight).