PDF downloads in Django

Posted by: barbara | Date: Aug 07, 2008 | Updated: Sep 09, 2008 | Category: Django
Django is really good at serving up dynamic content.

So generating a PDF dynamically from your data is easy:

http://www.djangoproject.com/documentation/outputting_pdf/

But a download of a static PDF file? Not so much:

http://www.stuvel.eu/pdfdownload



Read More

User groups and group permissions in newforms admin

Posted by: barbara | Date: Aug 06, 2008 | Updated: Sep 09, 2008 | Category: Django
If you follow strictly Brian Rosner's screencast on converting to newforms-admin, you'll find you suddenly end up with an admin site that takes away User and Group (permissions) editing options. That's no slight against Brian, believe me - it's a great screencast, and I wouldn't have been able to ...

Read More

I'm going to DjangoCon!

Posted by: barbara | Date: Jul 31, 2008 | Updated: Sep 09, 2008 | Category: Django DjangoCon
In like Flynn
    "To be quickly and/or emphatically successful."
I was up at 4-fricking-30 this morning, on the off chance that I might be able to get in on the first round of DjangoCon tickets to be released into the wild. I didn't have high hopes - I figured ...

Read More

Pagination: it's not pretty, but it works

Posted by: barbara | Date: Jul 30, 2008 | Updated: Sep 09, 2008 | Category: Django
I wanted a simpler solution than django-pagination. Django-pagination looks easy to implement, particularly thanks to Eric Florenzano's stellar screencast, but the actual installation process isn't very well-documented. Besides, I wanted something that didn't require installing a lot of outside code, and I sure don't want to have ...

Read More

That's right, the women are smarter

Posted by: barbara | Date: Jul 28, 2008 | Updated: Jul 28, 2008 | Category: Girl Geeks
Girls Close the "Math Gap" [Alternet] Gender Similarities Characterize Math Performance [Science Magazine] Girls Bridge Gender Divide in Math [ABC News]

Read More