🔇(backend) fix E010 Django warning logs

Room model uses a default value for its configuration.
However, I used a wrong default value, it should be a callable.

Align the code with Magnify.
This commit is contained in:
lebaudantoine
2024-08-02 19:58:30 +02:00
committed by aleb_the_flash
parent 40457bd68a
commit d2bbcb0f51
2 changed files with 19 additions and 1 deletions

View File

@@ -296,7 +296,7 @@ class Room(Resource):
configuration = models.JSONField(
blank=True,
default={},
default=dict,
verbose_name=_("Visio room configuration"),
help_text=_("Values for Visio parameters to configure the room."),
)