#35989: GeoJSON serializer producing invalid output (crs attribute) -------------------------------------+------------------------------------- Reporter: Jeremy Thompson | Owner: Jeremy | Thompson Type: Bug | Status: assigned Component: GIS | Version: dev Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Jeremy Thompson):
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. I think this issue still might be relevant though? But not for my original reason. -- Ticket URL: <https://code.djangoproject.com/ticket/35989#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/01070193aec4a824-3504a9fb-8555-41ed-aad6-6f4ce800741c-000000%40eu-central-1.amazonses.com.