updated django version requirement to 1.4 

ipv6 needed in the middleware is only available in django 1.4