Refactor Django page to work with new config
mend
mend