This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
Watch
1
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2025-01-08 17:37:20 +00:00
Code
Issues
32
Releases
Wiki
Activity
29ddae7436
django
/
django
/
contrib
/
gis
/
__init__.py
7 lines
100 B
Python
Raw
Normal View
History
Unescape
Escape
[py3] Added buffer/memoryview compatibility Even if buffer and memoryview are not strictly identical, it should be safe to consider them equivalent for GIS support. Thanks Aymeric Augustin for the review.
2012-09-23 17:55:52 +00:00
from
django
.
utils
import
six
if
six
.
PY3
:
memoryview
=
memoryview
else
:
memoryview
=
buffer
Reference in New Issue
Copy Permalink