The OGRFieldTypes dict is likely what is meant. However, it’s actually pulling it from the ldap library that’s installed. If you follow the source code down:
That list on the GDAL site looks very similar to the dict you posted from Django. So while it likely doesn’t use that dict when accessing .type, it’s pretty close.