Custom template tags in Django
In various places in my project's site navigation, I need to be able to include dynamic content. For example, there will be a sidebar on the left that should always show a list of categories, with ea ... Read more
In various places in my project's site navigation, I need to be able to include dynamic content. For example, there will be a sidebar on the left that should always show a list of categories, with ea ... Read more
I love it when I'm re-reading a page in the Django documentation, and, suddenly, out of the blue, something appears that I swear was not there last week. I spent so much time last week beating my h ... Read more
I'm generally of the opinion that any podcast needs to stay around the 20-minute mark to be effective - in this short-attention-span world, anything longer than that tends to lose my interest and gets ... Read more
This article just saved me what I'm sure would have been a few hours of work/banging my head on the keyboard and a massive testing-related migraine: The Test Client Session [dougblog.com] ... Read more
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 sta ... Read more
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. Th ... Read more
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 ... Read more
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 v ... Read more
Girls Close the "Math Gap" [Alternet] Gender Similarities Characterize Math Performance [Science Magazine] Girls Bridge Gender Divide in Math [ABC News] ... Read more
Let's say I have three simple models - news articles, their categories, and the table that defines which articles are in which categories: class Article(models.Model): title = models.CharFie ... Read more