Model mixin¶
- class djcrud.model.ModelMixin[source]¶
Bases:
objectResolve
modeland scoped querysets from the enclosing router.Views nested under a
ModelRouterinherit itsmodelandget_queryset()scoping.- property title¶
Human-readable label with the model class name removed.
- property codename¶
URL segment with the model name removed from the default codename.
- property model¶
Django model from the nearest ancestor
ModelRouter.
- property model_meta¶
model._metaexposed for templates (._metais blocked).