1
0
mirror of https://github.com/django/django.git synced 2025-03-06 15:32:33 +00:00
Stefan Brand 341f33ed15 [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
2023-02-17 19:57:34 +01:00
..