python - django search in db for similar entries my string name -


i build following app python + django:

mydb: database of entries defined me. new entry: new entry name of example: john each entry has got parameters example: p1, p2, p3

when add new entry type in box , while typing name search through mydb similar (similar name starting j) entries.

for example: mydb has got following entries:

john jade jack kate

while typing new entry when type j lists jade, jack, john it's got similar functionality google search engine or here stackoverflow search similar tags while defining tag.

if find exact entry in mydb choose it. if not find same entry in mydb can define new entry parameters p1, p2, p3.

i know @ moment how creat todo app django can add new entries , edit them struggle search funcionality described below.

could point me right direction knowledge gather, examples follow ?

i have found old post dated 2010 curious if there better, newer: search form django+python

i have knowledge of python, django, postgresql @ moment.

many thanks.

you have learn javascript learn how interact search box on page. can write django view obtain similar entries need (it has query database). make javascript call django view (ajax) determine entries display.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -