Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
222914c039 [DEPENDABOT] Update: Bump djangorestframework from 3.15.2 to 3.16.0
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.15.2 to 3.16.0.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.15.2...3.16.0)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

@@ -1,6 +1,6 @@
# Django and REST framework
Django==5.1.6
djangorestframework==3.15.2
djangorestframework==3.16.0
django-cors-headers==4.7.0
# Authentication