Django-urldecorators is a reusable Django application which allows apply view decorators and middleware components depending on requested url.