Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
72f41421a1 [DEPENDABOT] Update: Bump pytest from 8.3.4 to 8.3.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.4 to 8.3.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 16:51:36 +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

@@ -33,7 +33,7 @@ pycountry==24.6.1
# Development
black==25.1.0
flake8==7.1.1
pytest==8.3.4
pytest==8.3.5
pytest-django==4.10.0
# WebSocket Support