clean up django views