Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
ea41ba9629 [DEPENDABOT] Update: Bump django-tailwind-cli from 4.0.1 to 4.2.3
Bumps [django-tailwind-cli](https://github.com/django-commons/django-tailwind-cli) from 4.0.1 to 4.2.3.
- [Release notes](https://github.com/django-commons/django-tailwind-cli/releases)
- [Changelog](https://github.com/django-commons/django-tailwind-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/django-commons/django-tailwind-cli/compare/4.0.1...4.2.3)

---
updated-dependencies:
- dependency-name: django-tailwind-cli
  dependency-version: 4.2.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 16:51:07 +00:00
3 changed files with 6 additions and 6 deletions

View File

@@ -165,13 +165,13 @@ class Park(TrackedModel):
print(f"Found park from historical slug: {park.name}")
return park, True
except cls.DoesNotExist:
print("Park not found for historical slug record")
print(f"Park not found for historical slug record")
pass
else:
print("No historical slug record found")
# Try pghistory events
print("Searching pghistory events")
print(f"Searching pghistory events")
event_model = getattr(cls, 'event_model', None)
if event_model:
historical_event = event_model.objects.filter(
@@ -185,7 +185,7 @@ class Park(TrackedModel):
print(f"Found park from pghistory: {park.name}")
return park, True
except cls.DoesNotExist:
print("Park not found for pghistory event")
print(f"Park not found for pghistory event")
pass
else:
print("No pghistory event found")

View File

@@ -94,7 +94,7 @@ class ParkModelTests(TestCase):
historical_records = event_model.objects.filter(
pgh_obj_id=park.id
).order_by('-pgh_created_at')
print("\nPG History records:")
print(f"\nPG History records:")
for record in historical_records:
print(f"- Event ID: {record.pgh_id}")
print(f" Name: {record.name}")
@@ -210,4 +210,4 @@ class ParkAreaModelTests(TestCase):
def test_absolute_url(self):
"""Test get_absolute_url method"""
expected_url = f"/parks/{self.park.slug}/areas/{self.area.slug}/"
self.assertEqual(self.area.get_absolute_url(), expected_url)
self.assertEqual(self.area.get_absolute_url(), expected_url)

View File

@@ -42,4 +42,4 @@ channels-redis==4.2.1
daphne==4.1.2
# React and Material UI will be handled via npm in the frontend directory
django-tailwind-cli==4.0.1
django-tailwind-cli==4.2.3