changed insert_odp flag to insert_djangodb to avoid name clash with function