Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
4b936b22f0 [DEPENDABOT] Update: Bump django-pghistory from 3.5.2 to 3.6.0
Bumps [django-pghistory](https://github.com/AmbitionEng/django-pghistory) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/AmbitionEng/django-pghistory/releases)
- [Changelog](https://github.com/AmbitionEng/django-pghistory/blob/main/CHANGELOG.md)
- [Commits](https://github.com/AmbitionEng/django-pghistory/compare/3.5.2...3.6.0)

---
updated-dependencies:
- dependency-name: django-pghistory
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 17:56:22 +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

@@ -12,7 +12,7 @@ pyjwt==2.10.1
# Database
psycopg2-binary==2.9.10
dj-database-url==2.3.0
django-pghistory==3.5.2 # For model history tracking
django-pghistory==3.6.0 # For model history tracking
# Email
requests==2.32.3 # For ForwardEmail.net API