Hello, I'm customizing the admin site, and I've run into an issue I cannot find the solution to. I'm trying to create a new button on the change_list page that, when pressed, runs a particular script with input values dependent on the filters that are currently applied to that change_list page.
Specifically, the button is supposed to be a "Synchronize Selection" button, which synchronizes the current change_list data with information scraped from a different website. (I don't want to update the entire DB, just whatever the user is currently viewing). To do this, I am thinking I should submit a post request to some page on my site and pass it the current filter information. I can then run the scraping script with the filter information as inputs. Two questions: 1) How do I access this filter information? For example, if I have a boolean filter called "Synchronized Recently", how do I know if the filter is set to show "All", "Yes", or "No"? 2) Does this seem like a reasonable approach? Thanks a lot for the help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. 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 -~----------~----~----~----~------~----~------~--~---