mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
Indeed, before this patch, if we had only one result, we had to click then we get the result. Now if there is only one in the results, we redirect directly to its stats page. In the otherside, I do not think that returning `404` when we requests for example `/packages/fjwiofjowejfiewjfojio` is a good idea. That is why, I simply added a redirection to the `/search/fjwiofjowejfiewjfojio` page in that case.