Changes between Initial Version and Version 1 of Ticket #35989, comment 6


Ignore:
Timestamp:
Dec 9, 2024, 10:13:16 PM (9 days ago)
Author:
Jeremy Thompson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35989, comment 6

    initial v1  
    1 After a bit more investigation, I think my initial problem with Leaflet was due to how I was using the `json_script` filter. I was passing the `string` that was output from the serializer, which meant that the double quotes were getting escaped, which led to invalid JSON.
     1After a bit more investigation, I think my initial problem with Leaflet was due to how I was using the `json_script` filter. I was passing the `string` that was output from the serializer, which meant that the double quotes were getting escaped, which led to invalid JSON. When I created a Python dict with the same information, things worked as expected.
    22
    33I think this issue still might be relevant though? But not for my original reason.
Back to Top