Hooks
Template Hooks
register_sub_overview
Warning
Removed in version 1.6.0. Keep it for the legacy subscription overview. For the new subscription overview use template overrides instead.
register_sub_change
Warning
Removed in version 1.6.0. Keep it for the legacy subscription overview. For the new subscription overview use template overrides instead.
Admin Hooks
register_model_inline
Adds the given inline to the admin of the given model.
Call this in your apps admin.py.
Arguments:
model: String
inline: InlineModelAdmin
Config Hooks
register_config_class
Extends the juntagrico config
template tag by the attributes of the given class
Arguments:
cls: Class
register_version
Note
Since Version 1.6.0 this hook shall be called with the package name (as in imports) as the only argument. Juntagrico will identify the installed version automatically.
Shows the given version with the given name on the version page
Arguments:
name: String
version: String (deprecated since juntagrico 1.6.0)