Slimming down your project's admin

Posted by: barbara | Date: Oct 08, 2008 | Category: django | Comments: 0
Speaking of slimming down, I was just at the gym, listening to the most recent episode of This Week in Django on my iPod (not exactly the best workout motivation, but it was what I had with me at the time). In this week's episode, Brian Rosner ...

Read More

Super simple pagination, WITHOUT using Django's Paginator object

Posted by: barbara | Date: Sep 25, 2008 | Category: django python | Comments: 0
Once again, I've been struggling with pagination. It's not that I don't like Django's Paginator object ... it's that ... well, okay, I don't like it. Anyway, I just needed something painfully simple for this site, and Paginator seemed a little like overkill.

So here's my super-simple ...

Read More

Using Python str, datetime, lists and sets to group dates

Posted by: barbara | Date: Sep 21, 2008 | Category: django python | Comments: 4
I'm in the process of writing my own blog app (project 'belleville'), one that will eventually replace the Wordpress blog that this site is using, and one of the things I need is a templatetag for the sidebar that lists archive dates, grouped by month - it should look ...

Read More

RestView, via DjangoSnippets

Posted by: barbara | Date: Sep 21, 2008 | Category: django | Comments: 0
RestView - class for creating a view that dispatches based on request.method

Read More

Django-friendly hosting

Posted by: barbara | Date: Sep 20, 2008 | Category: django | Comments: 0
Dang. I've been looking around for weeks, trying to find hosting for my Django blog app. So this morning I went ahead and signed up with an ISP that was a bit of a compromise (supported packages, but not as developer-friendly as I would like). Then this evening I found ...

Read More