Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
fcfe264051 [DEPENDABOT] Update: Bump channels from 4.2.0 to 4.2.2
Bumps [channels](https://github.com/django/channels) from 4.2.0 to 4.2.2.
- [Changelog](https://github.com/django/channels/blob/main/CHANGELOG.txt)
- [Commits](https://github.com/django/channels/compare/4.2.0...4.2.2)

---
updated-dependencies:
- dependency-name: channels
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 16:47:13 +00:00
3 changed files with 1 additions and 11 deletions

View File

@@ -55,8 +55,3 @@ class PageView(models.Model):
return model_class.objects.filter(pk__in=id_list).order_by(preserved)
return model_class.objects.none()
def __str__(self):
model_name = self.__class__.__name__
fields_str = ", ".join((f"{field.name}={getattr(self, field.name)}" for field in self._meta.fields))
return f"{model_name}({fields_str})"

View File

@@ -66,11 +66,6 @@ class TrackedModel(models.Model):
).order_by('-pgh_created_at')
return self.__class__.objects.none()
def __str__(self):
model_name = self.__class__.__name__
fields_str = ", ".join((f"{field.name}={getattr(self, field.name)}" for field in self._meta.fields))
return f"{model_name}({fields_str})"
class HistoricalSlug(models.Model):
"""Track historical slugs for models"""
content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)

View File

@@ -37,7 +37,7 @@ pytest==8.3.4
pytest-django==4.10.0
# WebSocket Support
channels==4.2.0
channels==4.2.2
channels-redis==4.2.1
daphne==4.1.2