Python virtual environments

What is virtualenv?

From the Python Guide:

A Virtual Environment, put simply, is an isolated working copy of Python which allows you to work on a specific project without worry of affecting other projects.

For example, you can work on a project which requires Django 1.3 while also maintaining …

more ...

Getting started with a Django app

Date Category blog

Tags: Python, Django Status: draft

Create an app

In the directory for your Django project, run the following command python manage.py startapp my_app

This will create a directory that looks like this

my_app/
    __init__.py
    models.py
    tests.py
    views.py

Create your models

Edit the my_app/models.py …

more ...

My Django project setup

This is a continuation of the series of posts on my workflow with Django. I am writing as a means of documenting my work, but feel free to follow it you find it helpful.

This is loosely based on the Django tutorial from here. This tutorial uses the 1.5 …

more ...