Quick and dirty "what I'm reading" plugin
(Note: that partner id in the absolute_url below is mine. I won't object if you want to use it, but you might be better off signing up for your own: Powells.com Partner Program)
The model:
class Book(models.Model): RATING_CHOICES = ( ('1', '1'), ('2', '2'), ('3', '3'), ...
Read More
Git on Mac OS X
Okay, forget what I just said about svn on OS X. This week, I'm moving one of my projects into a private repo on github. Why? Well, obviously because it's the new hotness. Because all the kids are doing it? Actually, the answer is "why not?". It can't ...
Read More
Read More
Book Meme
"Thus two separate source program files, each of which contains the definition int a; either represent an error (if the linker prohibits duplicate external variables) or will share a single instance of a whether they wanted to share a or not."
C Traps and Pitfalls, Andrew Koenig
- Grab ...
Read More
Taking the ugly out of Django comments
Django comments are pretty easy to implement - most of what you need to get access to the app and template tags is covered in the documentation:
http://docs.djangoproject.com/en/dev/ref/contrib/comments/
Regarding the template tags - you should be able to figure out what properties the ...
Read More
http://docs.djangoproject.com/en/dev/ref/contrib/comments/
Regarding the template tags - you should be able to figure out what properties the ...
Read More





