I love using Trello to organize my life and work. While I kind of like it’s iOS app, sometimes navigating to a board to add a card can be a little time consuming. I want this process to be faster. I also use Launch Center Pro to get some quick actions that I miss from… Read more »
Posts Tagged: python
Getting Started with Solr and Django
Solr is a very powerful search tool and it is pretty easy to get the basics, such as full text search, facets, and related assets up and running pretty quickly. We will be using haystack to do the communication between Django and Solr. All code for this can be viewed on github. Install Assuming you… Read more »
Hiding fields in the Django admin based on permission
Quick and easy if you have one group of users that can only edit an asset, and another group that has publishing rights
Making virtualenv on windows with powershell a little cleaner
While I code on a mac at home, I can’t live without my giant dual screens and solid state drive at work so I’m on a windows 7 box. Most of the time it’s fine, does everything I need, and I’m happy. I became full of rage for the first time last week trying to… Read more »
Want user available in every template in Django?
Create a context processor settings.py context_processors.py user is now available in any template: source: stackoverflow
Some reading from django-nyc
Went to the django-nyc meetup last night, it was in Manhattan and much easier to get to then when it’s at huge in bk. Wrote down a few things to read up on: Celery – Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports… Read more »
select foo, count(*) from bar group by foo in django
Every once in a while you need some old fashion SQL style queries in django. This is a common one for reporting and aggregation. Its fairly easy to replicate in a queryset. Say I wanted to get the authors and the number of articles they have written going back to the beginning of 2009 to… Read more »
Django 1.0 released!
No, you’re not hallucinating, it’s really here. NOW GO GET IT










