Archive for January, 2009
Learning About Django Templates
I was working on a template last night to handle a generic view. I started by going into the console (managey.py shell) to poke around at the model I wanted to use. From that session, I copied the following snippet to use in the template.
project.projectimage_set.all()[0].image.url
I added this to the template and it looked like [...]
Sample Project Ideas
A few years ago I found a list on the internet of 10 things to do when learning a new programming language. I thought it was interesting and shared it with my coworkers at the time. A couple of weeks ago, one of my former coworkers contacted me and asked me for the list. [...]
