Ajax, jQuery and Django

28 views
Skip to first unread message

Salima Begum

unread,
Oct 5, 2020, 8:04:00 AM10/5/20
to django...@googlegroups.com
Hi all,
I have database of zip code for example,
INSERT INTO pages_zip_code (id, zip, city, st) VALUES
(1, '00501', 'Holtsville', 'NY'),
(2, '00544', 'Holtsville', 'NY'),
(3, '00601', 'Adjuntas', 'PR'),
(4, '00602', 'Aguada', 'PR'),
(5, '00603', 'Aguadilla', 'PR'),
(6, '00604', 'Aguadilla', 'PR'),
(7, '00605', 'Aguadilla', 'PR'),
(8, '00606', 'Maricao', 'PR'),
(9, '00610', 'Anasco', 'PR'),
(10, '00611', 'Angeles', 'PR'),
(11, '00612', 'Arecibo', 'PR'),
(12, '00613', 'Arecibo', 'PR'),
(13, '00614', 'Arecibo', 'PR'),
(14, '00616', 'Bajadero', 'PR'),
(15, '00617', 'Barceloneta', 'PR'),
(16, '00622', 'Boqueron', 'PR'),
(17, '00623', 'Cabo Rojo', 'PR'),
(18, '00624', 'Penuelas', 'PR'),
(19, '00627', 'Camuy', 'PR'); 
If user enters zipcode, Then state and city column should be auto fill by using database of zip code in django and jQuery .
Please let me know how to do this 

Salima Begum

unread,
Oct 5, 2020, 8:05:52 AM10/5/20
to django...@googlegroups.com
Please let me know how to do this.

Thank You,
~Salima

Kunal Solanke

unread,
Oct 5, 2020, 8:26:29 AM10/5/20
to django...@googlegroups.com
Rather than sending ajax every time handle it on frontend in javascript

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMSz6b%3DceNs7rk3zY4aNAS2MpUtAnamPi%2BzsfBx5maK9NZPo%2Bw%40mail.gmail.com.

RANGA BHARATH JINKA

unread,
Oct 5, 2020, 9:25:27 AM10/5/20
to django...@googlegroups.com



--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

Eugene TUYIZERE

unread,
Oct 5, 2020, 3:21:41 PM10/5/20
to django...@googlegroups.com



--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene....@aims-cameroon.org
           eugenet...@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

Dvs Khamele

unread,
Oct 11, 2020, 5:09:54 PM10/11/20
to django...@googlegroups.com
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to div...@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

--

Dvs Khamele

unread,
Oct 11, 2020, 5:11:30 PM10/11/20
to django...@googlegroups.com
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to div...@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages