Wheeler recommended that, after we solve any problem, we think of one sentence that we could tell our earlier self that would have “cracked” the problem. This kind of thinking turns each problem and its solution into an opportunity for reflection and for developing transferable reasoning tools.I would have loved saying to my self.
Writting a new django feature takes this steps:
- Think of the feature.
- Think how you would put the data needed to drive the feature in a 2d table.
- Create a new django app .
- Write the name of the columns in a model inside models.py.
- Write the logic that uses that data in views.py
- Make sure your processed data ends ups in the context that view returns.
- Write the template that uses the processed data.
No hay comentarios:
Publicar un comentario