#34302: SpatialReference.srid incorrectly assumes first AUTHORITY value to be projection SRID -------------------------------------+------------------------------------- Reporter: Stefan Brand | Owner: Stefan | Brand Type: Bug | Status: closed Component: GIS | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"341f33ed157809906b7c4b4ee59d8f11e84462ee" 341f33ed]: {{{ #!CommitTicketReference repository="" revision="341f33ed157809906b7c4b4ee59d8f11e84462ee" [4.2.x] Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is None. force_bytes() turns None into the byte string b"None". Since ctypes.c_char_p() also accepts None, we can bypass force_bytes() if target is None. Backport of d77762de038d1ab46cdcda2b7202d36c80956e25 from main }}} -- Ticket URL: <https://code.djangoproject.com/ticket/34302#comment:7> 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 on the web visit https://groups.google.com/d/msgid/django-updates/0107018660bdbbf6-f20a437a-f59c-41a2-9854-5eac569a2207-000000%40eu-central-1.amazonses.com.