﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23766	Documentation and tests for cursor.callproc()	Shai Berger	Mariusz Felisiak	"This is a spin off #23546 -- actually, a requirement for that ticket.

Quoting my [https://groups.google.com/d/msg/django-developers/v3AhQhJFhGM/TScISVjLBQoJ message] to -developers on the subject (the thread trails off to discussions of higher-level interfaces, but the following seems to be in consensus):

For a very long time -- as far as I'm aware, forever -- we've had, in our cursor classes, a `callproc()` method that follows the `callproc()` definition of [http://legacy.python.org/dev/peps/pep-0249/#callproc pep249]; this allows database stored procedures to be called.

Recently [...] we found that
  1. `cursor.callproc()` is not documented
  2. `cursor.callproc()` is not tested (except for one Oracle-specific test that uses it to test something else)

Which means, essentially, that it is treated as an intenal API.

I see no reason that we shouldn't make it public.
"	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed		averybigant	Accepted	0	0	0	0	0	0
