Fixed urls to work on recent Django versions.