diff --git a/server_environment/models/server_env_tech_name_mixin.py b/server_environment/models/server_env_tech_name_mixin.py index 3bdafa4..e3c0229 100644 --- a/server_environment/models/server_env_tech_name_mixin.py +++ b/server_environment/models/server_env_tech_name_mixin.py @@ -16,17 +16,11 @@ class ServerEnvTechNameMixin(models.AbstractModel): This mixin helps solve the problem by providing a tech name field and a cleanup machinery as well as a unique constrain. - To use this mixin add it to the _inherit attr of your module like: - - _inherit = [ - "my.model", - "server.env.techname.mixin", - "server.env.mixin", - ] - + Use it in place of "server.env.mixin". """ _name = "server.env.techname.mixin" + _inherit = "server.env.mixin" _description = "Server environment technical name" _sql_constraints = [ ("tech_name_uniq", "unique(tech_name)", "`tech_name` must be unique!",) diff --git a/server_environment/readme/CONTRIBUTORS.rst b/server_environment/readme/CONTRIBUTORS.rst index cb37929..7350708 100644 --- a/server_environment/readme/CONTRIBUTORS.rst +++ b/server_environment/readme/CONTRIBUTORS.rst @@ -10,3 +10,4 @@ * Thomas Binfeld * Stéphane Bidoul * Simone Orsi +* Iván Todorovich