(self, *args, **kwargs)
| 1120 | return f"{self.channel_group.name} - {self.m3u_account.name} (Enabled: {self.enabled})" |
| 1121 | |
| 1122 | def save(self, *args, **kwargs): |
| 1123 | if self.custom_properties is not None and not isinstance( |
| 1124 | self.custom_properties, dict |
| 1125 | ): |
| 1126 | self.custom_properties = custom_properties_as_dict(self.custom_properties) |
| 1127 | super().save(*args, **kwargs) |
| 1128 | |
| 1129 | |
| 1130 | class Logo(models.Model): |