Skip to content Skip to sidebar Skip to footer

Django Jquery-ui Autocomplete With Database

I want to use jquery-ui autocomplete plugin with my model. I have this model: class Baslik(models.Model): user = models.ForeignKey(User, null=True, blank=True) title = mode

Solution 1:

The problem is in your urls.py. You can't refer to the view just as the string 'autoco'. Either refer to it as 'myapp.views.autoco', or import the actual view function and refer to it directly as autoco without the quotes.


Post a Comment for "Django Jquery-ui Autocomplete With Database"