[IMP] : black, isort, prettier

This commit is contained in:
Mourad 2020-10-12 10:45:21 +02:00 committed by Maxime Franco
parent 2779fa087d
commit 1409364d3c
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ class ServerEnvTechNameMixin(models.AbstractModel):
_name = "server.env.techname.mixin"
_description = "Server environment technical name"
_sql_constraints = [
("tech_name_uniq", "unique(tech_name)", "`tech_name` must be unique!",)
(
"tech_name_uniq",
"unique(tech_name)",
"`tech_name` must be unique!",
)
]
# TODO: could leverage the new option for computable / writable fields
# and get rid of some onchange / read / write code.