title: To generate a unique key in django framework
body: <p>In Python-Django,</p>
  <p>I am creating an application where I am uploading the image and storing it in the database. For this each image i also want to generate a unique key/number and save it in the database. How can i do so?</p>
  <p>I will be using this unique key/number for later verification as i am trying to make a face recognition for detection in contactless fraudlent systems.</p>