Thanks for the replay. Using foreign key it creates dropdown list, but i want the URL as the character field and "Choose Page" button which having the function which retrieves the database query list.
On Friday, August 17, 2012 12:51:35 PM UTC+5:30, Thomas Orozco wrote: > > If you're using a ForeignKey for this field, you'll get this behavior by > default in the Django admin. > Le 17 août 2012 08:45, "Madhu" <madhush...@gmail.com <javascript:>> a > écrit : > >> Hello, >> >> I want to add the button along with field in admin form. >> >> ex. Field name "URL" with the "Choose Page" button. >> If admin clicks on "Choose Page" button then some list from the database >> table will be display and admin select any one from that list. >> >> Can anybody help me to add the button in admin form? >> >> Thanks, >> Madhu >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/wSJXqEJkYzoJ. >> To post to this group, send email to django...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> django-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/gsOd9uZzCUgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.