Registry¶
- class djmvc.registry.Registry(controller, routes=())[source]¶
Bases:
objectOrdered, codename-keyed route list built from a controller declaration.
Registering a route with an existing
codenamereplaces the previous entry — this is how cloned views override defaults.Attach to controller and register each declared routes entry.