I don't think Django was inspired by Rails, but I could be wrong. CakePHP definitely was. In fact, I learned CakePHP by watching Ruby on Rails screencasts because I couldn't get RoR installed on a VPS way back when, while CakePHP installed effortlessly, yet didn't have many good tutorials.
Rails was released a year before Django, I think they win the prize as the most influential modern web framework.
It wouldn't surprise me if most of Heroku's technology translated to other stacks easily.