Where do you go from here?

If you liked this project and you feel like expanding it, here are a few suggestions:

  • Implement the encryption in the mechanism of a custom Django field.
  • Amend the template for the record list so that you can search for a particular record.
  • Amend the JavaScript to use JSONP with a callback to overcome the CORS issue.
  • Amend the JavaScript to fire the validation call when the password field changes.
  • Write a Django command that allows you to encrypt and decrypt the database file. When you do it from the command line, incorporate that behavior into the website, possibly on the home page, so that you don't have access to the records unless you are authenticated. This is definitely a hard challenge as it requires either another ...

Get Learning Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.