Tag: python

  • OS X Mavericks and PyLibMC

    https://gist.github.com/tekton/9943256 brew install libmemcached easy_install pip pip install virtualenv virtualenv VENV source VENV/bin/activate export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments pip install pylibmc

  • Django – Insensitive Case

    When using Django in Python there’s these awesome things called QuerySets that are a full blown ORM to make it so I don’t have to think in SQL to get things in and out of a database! One of the things I didn’t find documented very well was case sensitivity vs insensitivity. If you’re using…

  • Django: Basic Template Tags

    One of things I had the hardest time finding was a good example of Template Tags in Django; so here is my basic template tags file I add to every new project (GPLv2). A lot of people have their own, and I’m sure in the future I’ll add on to my basics; but for now…