Get rid of previous migrations, use django 1.7.
Fix old syntax for {% url %}.