Django code side proc scalar