Django adding action

To add action in django we have to

  1. create a view
  2. create an url path