usgin/uriredirect — pull request #1 by domguard (2012-05-25 17:02:00+00:00)
Title: Django object pattern, in order to match for example a numeric id in URI...

... with the readable object slug for the HTML document

I could not avoid a db request, it's ok for a non-intensive usage, like a RDF API.
Syntax is :
- must use named group for the URI pattern , named after the matching field, like (?P\d+)/$
- for the redirect pattern : "http://something.com/@id:my_django_app.my_model_name@/"
the same id field used in the URI pattern, a colon and the app and model names joined with a dot, wrapped into two "@" for easier matching.

I really like uriredirect, registries are a great improvement over uriresolve which I had tested before.
If you think this feature can be merged, I'll make tests for it and documentation patch if you're not afraid of my english.