added code for session 7, dajngo app