Quick and dirty "what I'm reading" plugin

Posted by: barbara | Date: Nov 22, 2008 | Category: Django

(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

Just a little round-up to remind you I'm alive

Posted by: barbara | Date: Nov 20, 2008 | Category: The Internets
I've been head-down, fingers flying, banging away on a top-secret project for the past few weeks, so I haven't really had anything new and revolutionary to post about.

But Eric says we should all blog, so I wanted to share a few of the things I've ...

Read More

Git on Mac OS X

Posted by: barbara | Date: Nov 18, 2008 | Category: Git 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

Book Meme

Posted by: barbara | Date: Nov 12, 2008 | Category: The Internets

"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

Taking the ugly out of Django comments

Posted by: barbara | Date: Nov 07, 2008 | Category: Django
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