Updated djredcap function and variable names to pep8
Updated djredcap function and variable names to pep8