Simon Willison’s Weblog

Items tagged django, python, michaeltrier in 2007

Filters: Year: 2007 × django × python × michaeltrier ×


Using Unipath to Keep Things Portable. Django tip to avoid hard-coding full paths. I usually set a global called OUR_ROOT in settings.py using os.path.dirname(__file__) and use os.path.join with it to construct any other paths that I need. # 21st December 2007, 10:45 am

Finding Lookup Items that Are Not Used. How to do left outer joins (and other custom SQL) using the Django ORM. # 13th August 2007, 5:08 pm

Types

Years

Months

Tags