Update hashlib/urls to work with django 1.6

Some minor changes to get this working with django 1.6.

Great library!