View URL autogeneration mechanisms: RoutableViewMixin

One of the key architectural concepts of CRUDLFA+ is the ability for views to generate their own URLs. This chapter reviews the different mechanisms in place and how they are overridable.

Code which makes a view encapsulate what it takes to make it auto generate urls is located in the Route, which we’ll describe intensively here.

All black magic for views are defined in the crudlfap.route module.

CRUDLFA+ introduces a new design pattern for views that came out during refactoring sessions from a corporate project, and re-written for Django 2.0 from scratch. L