Hi, I'm Daniel Greenfeld, and welcome to my blog. I write about Python, Django, and much more.

Two Scoops of Goblins

Tuesday, April 01, 2014 (permalink)

While Audrey Roy Greenfeld and I were contemplating our next Two Scoops Press book topic, it came down to a decision between Pyramid, Flask, and mythical creatures. Inspired by Django's magical flying pony, Pyramid's scary alien dude, and even the idea of a magical Flask pouring out wonderful ...

Read more ...

Memories of Malcolm

Monday, March 17, 2014 (permalink)

A year ago today Malcolm Tredinnick, core contributor to Django suddenly passed away. He was a mentor, and more importantly, a good friend.

Here are some of my memories of Malcolm.

DjangoCon US: September 2010

This is where Audrey and I first met Malcolm. We ended up spending a good ...

Read more ...

Fiction vs Non-Fiction

Monday, February 24, 2014 (permalink)

I'm a published author.

There, I said it. I co-wrote a book and its sequel. My childhood dream of becoming a writer has come true.

Well, not completely.

Truth is, I've always wanted to be a fiction author. Don't get me wrong, writing a technical book has ...

Read more ...

Announcing Two Scoops of Django 1.6!

Wednesday, February 05, 2014 (permalink)

http://twoscoops.smugmug.com/Pydannycom/i-M5FKCtv/0/M/two-scoops-django-co-authors-M.jpg

We (Audrey Roy and I) just released the revised, expanded, and slightly renamed second edition of our book on Django. It's called Two Scoops of Django: Best Practices for Django 1.6, and you can buy it right now in print format on our online store or Amazon.com ...

Read more ...

Python Indie Bundle Cyber Monday Sale

Monday, December 02, 2013 (permalink)

I've joined forces with Matt Harrison and Audrey Roy to put together the first ever Python Indie Bundle sale!

This bundle includes the following e-book bundles (PDF, Kindle, ePub) for just $24.95:

  • Treading on Python Volume 1: Foundations
  • Treading on Python Volume 2: Intermediate
  • Two Scoops of Django ...
Read more ...

Tools we used to write Two Scoops of Django

Friday, May 03, 2013 (permalink)

Because of the ubiquitousness of reStructuredText in the lives of Python developers and the advocacy of it, it's not uncommon for people to assume we used it to write our book. However, that's not really the case.

The short Answer is we used:

  • reStructuredText (RST)
  • Google Documents
  • Apple ...
Read more ...

Two Scoops of Django is in print!

Wednesday, April 17, 2013 (permalink)

Since I was a child I wanted to be a published author. I've dreamt of people reading my book. While one could say that dream was fulfilled when we launched the e-book version in January, it's not the same as seeing the printed copy. Today I got to ...

Read more ...

Generating NCX files with Python

Monday, April 15, 2013 (permalink)

With the help of fellow Python developer Matt Harrison's excellent Ebook Formatting: KF8, Mobi & EPUB, we managed to create pretty decent looking Kindle and ePub versions of Two Scoops of Django.

One of many things we did was focus on providing an excellent table of contents. Of course we ...

Read more ...

Annotated History of My Most Used Shell Commands

Wednesday, April 10, 2013 (permalink)

An oldie, but a goodie. This time I annotate it with reasons as to why things are used so much. If you blog, post your own!

For reference, anything after a "#" is an annotation.

$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn |head ...
Read more ...

We are not using PayPal

Saturday, March 02, 2013 (permalink)

In January Audrey Roy and I launched a book about Django called Two Scoops of Django: Best Practices for Django 1.5. We decided to not use PayPal. Here's why:

Open Source Events Get Burned By PayPal

PayPal has a long, sordid history of freezing the accounts of Python ...

Read more ...

Two Scoops of Django 1.5 Beta Released

Thursday, February 28, 2013 (permalink)

After thirty four days of hard work, Audrey Roy and I are proud to announce that we've released the beta of Two Scoops of Django: Best Practices for Django 1.5. It's been a monumental effort, a labor of love, and we hope you find our efforts worthy ...

Read more ...

Two Scoops of Django FAQ

Monday, January 21, 2013 (permalink)

https://s3.amazonaws.com/pydanny/frontispiece.png

The launch of the Two Scoops of Django: Best Practices for Django 1.5 book has gone pretty well. The response has been almost entirely positive and sales have been pretty brisk. We've gotten a ton of great, constructive editorial feedback, which we're sorting through as we race ...

Read more ...

Our Django Book Has Launched

Thursday, January 17, 2013 (permalink)

https://s3.amazonaws.com/twoscoops/img/tsd-cover.png

We (Audrey Roy and I) wrote a book on Django! It's called Two Scoops of Django: Best Practices for Django 1.5, and you can buy it right now in e-book (PDF) form on the website: http://django.2scoops.org.

Django, like any framework, has tips, tricks, and pitfalls ...

Read more ...