mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 05:11:09 -05:00
Compare commits
1 Commits
pixeebot/d
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e477a61bd |
@@ -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})"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -26,7 +26,7 @@ Pillow==11.1.0 # For image handling
|
||||
django-cleanup==9.0.0 # Automatically delete files
|
||||
piexif==1.1.3 # For image EXIF metadata handling
|
||||
django-filter==24.3
|
||||
django-htmx==1.22.0
|
||||
django-htmx==1.23.0
|
||||
whitenoise==6.9.0 # Static file serving
|
||||
pycountry==24.6.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user