Update index.txt example with recursivity on obsolete function get_formsets

example with recursivity on obsolete function get_formsets