Thanks a lot for your reply Dear Jani Tiainen I try it.
On Thursday, May 9, 2019, Jani Tiainen <[email protected]> wrote: > You could try django-select2 for example. > > to 9. toukok. 2019 klo 11.03 Balaji Shetty <[email protected]> > kirjoitti: > >> >> HI >> >> *How can I add cascading drop down for Continent and Country in Django >> Admin Panel.* >> >> Here I add Continent and Country. >> >> When i change Continent, Country should be changed automatically. >> >> How can i achieve this. >> >> Consider my model.py >> >> >> class Continent(models.Model): >> >> name = models.CharField(max_length=255) >> >> >> >> class Country(models.Model): >> >> continent = models.ForeignKey(Continent) >> >> name = models.CharField(max_length=255) >> >> >> >> class Location(models.Model): >> >> continent = models.ForeignKey(Continent) >> >> country = models.ForeignKey(Country) >> >> city = models.CharField(max_length=50) >> >> street = models.CharField(max_length=100 >> >> -- >> >> >> *Mr. Shetty Balaji S.Asst. ProfessorDepartment of Information Technology,* >> *SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India * >> *Official: [email protected] <[email protected]> * >> * Mobile: +91-9270696267* >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/django-users/CAECSbOtZ580o4Jv-zR0FiRhy6pdacJwo74zpP9xsd0P4Yo >> xBXw%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAECSbOtZ580o4Jv-zR0FiRhy6pdacJwo74zpP9xsd0P4YoxBXw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/CAHn91oe%3DbEAEJp%2BOfAOqnJFY8yHVymW% > 2B3qn5RDnoM_WnkYWgnA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAHn91oe%3DbEAEJp%2BOfAOqnJFY8yHVymW%2B3qn5RDnoM_WnkYWgnA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Mr Shetty Balaji Asst. Prof. IT Department SGGS I&T Nanded. My. India -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAECSbOsAHwhza6UPKGmtitp1KtXuhSsE%2B4nVJrb0OhvN4cujXg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

