Django Errors 101: Is That Another Error?

By Iyanu Ajao

Elevator Pitch

Just like every other developer I hate errors. The thing is that as developers we don’t have a choice, we will constantly be bombarded with bugs and error messages. But there is something that we can do to reduce our frustration, we make an effort to understand these messages and how to fix them.

Description

Description

As developers, time is something that we do not have in abundance. We are either trying to build the next cool web product as fast as possible and be the first to market or trying to ship the next cool feature before the competition does. It is for the this reason that we’ve chosen the web framework for perfectionists with deadlines. Django is a beast in the web development ecosystem and can also be your biggest obstacle to ship that new feature if don’t understand the meaning and know where to look when reading Django error messages. The docs has done a good job in listing the error messages but no explanation or context has been provided to aid in the understanding of these errors. This talk will expose you to the most common error messages in Django, what they mean and how to fix them.

Understanding and being able to debug error messages on time is the one of the most important factor to shipping your cool new product before the next DjangoCon

Who And Why

This talk is for you if you have gone through the Django docs tutorials or Django girls tutorial. This talk is mostly targeted at:

  • Beginners that have gone through Django poll tutorials or django girls tutorial or any other equivalent.

  • Junior developers that don’t want to disturb their team members because of yet another error.

  • Advanced Django developers may also learn some tricks.

After the talk, the audience must have learnt the meaning of the most common error messages, how they can be reproduced and how to fix them.

Outline

  1. Errors
  • What are Errors

  • Their Importance

  • Django Errors

  1. Some Common Django Errors.
  • Meaning

  • How to Reproduce

  • How to Fix