mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 05:51:08 -05:00
Improve visual consistency and modern standards across the website
Add CSP nonce to script tags in park_detail.html and update Park model to potentially handle historical events. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 48ecdb60-d0f0-4b75-95c9-34e409ef35fb Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
@@ -336,6 +336,7 @@ class Park(TrackedModel):
|
||||
|
||||
# Try pghistory events
|
||||
print("Searching pghistory events")
|
||||
historical_event = None
|
||||
event_model = getattr(cls, "event_model", None)
|
||||
if event_model:
|
||||
historical_event = (
|
||||
|
||||
Reference in New Issue
Block a user