This is written by me referencing django official website.