tangentlabs/django-oscar — pull request #708 by maikhoepfel (2013-06-07 16:05:38+00:00)
Title: Links are broken when renaming categories

I've reviewed Oscar's URLs and how they break if objects are renamed. Luckily, there's only three places that potentially allow breaking links. Product slugs get changed when the product name changes, but because the matching happens on the product id as well, that is handled well. Offer's slugs don't change when renaming the offer. So the only issue are that category links will break when renaming the category.

Given that there's only one weak point, I'm leaning against a general solution using `django.contrib.redirects` or similar. I'll add some code to fix category links in a backwards-compatible way.