Skip to content

Instantly share code, notes, and snippets.

This Week in Django is a weekly podcast about all things Django.
This week we talk about updates to the site, a few source commits, some cool projects from the community, and a Tip of the Week.
Please see the Show Notes below for all the pertinent information and links.
h2. Show Notes
big news?
import csv
import urllib2
import urlparse
def get_project_issues(project):
r = urllib2.urlopen("http://code.google.com/p/%s/issues/csv" % project)
first = True
for row in csv.reader(r):
OS X 10.5.6, Jython 2.5b3, Pinax 0.7beta1
=========================================
*this is not functional yet*
* install Jython 2.5b3 (in ~/jython2.5b3)
* put ~/jython2.5b3/bin on $PATH
* download Pinax 0.7beta1 and extract (in ~/pinax-0.7beta1)
* jython pinax-0.7beta1/scripts/pinax-boot.py --release 0.7beta1 jython-pinax-env
* source jython-pinax-env/bin/activate
Contributing
============
We love to see members of the community move to being members of the Pinax
development community. We want to make that process as clear and simple as
possible. Making Pinax better is our number one goal and we love to see you
help us. This document covers the details of how we develop Pinax and where
you can fit in.
Reporting bugs
# install pinax 0.7beta2 on ubuntu 9.04
sudo aptitude install python-setuptools
sudo aptitude install python-imaging
wget http://downloads.pinaxproject.com/pinax-0.7beta2.tar.gz
tar zxvf pinax-0.7beta2.tar.gz
python pinax-0.7beta2/scripts/pinax-boot.py pinax-env
echo "/usr/lib/python2.6/dist-packages/" > pinax-env/lib/python2.6/site-packages/fuck-ubuntu.pth
source pinax-env/bin/activate
pinax-admin clone_project social_project mysite
======================================================
Setting up Django using Apache/mod_wsgi on Ubuntu 8.10
======================================================
This article will cover setting up Django using Apache/mod_wsgi on Ubuntu
8.10. The article is targeted at a production environment, but keep in mind
this is a more generalized environment. You may have different requirements,
but this article should at least provide the stepping stones.
The article will use distribution packages where nesscary. As of 8.10 the
For the Birds - http://nycbirdlist.org/
Code monkeys - http://djapp.org/
Freelancer - http://tnycnt.com/
Sword of Truth - http://leafychat.com/
wwswd - http://wwswd.com/
East meets West - http://whohasmy.net/
crunkd - http://getcrunkd.com:88/
Ra - http://www.ntrie.com/
arctangent - http://rudestword.com/
Slugs - http://flicasa.com/
We couldn’t find that file to show.
@brosner
brosner / fabfile.py
Created August 5, 2009 21:55 — forked from fiee/fabfile.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
fabfile for Django
------------------
see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/
modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle)
This fabric file makes setting up and deploying a django application much
All curl downloads occurred in ~/Sources.
Get PIL::
curl -O http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz
tar zxvf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6
python setup.py build
Notice once the build has finished you will see the following::