Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A fork of to be deployed to Stackato

tree: d1eded65b7

Fetching latest commit…

Cannot retrieve the latest commit at this time

Django GTD

A sample Getting Things Done (GTD) app using PostgreSQL and the Django admin interface. To create projects, actions, context or make any modifications, use the Django admin URL at http://gtd.stackato.local/admin/.

Local development

pypm install -r requirements.txt
python syncdb
python migrate
python runserver

Deploying to Stackato

stackato push -n

stackato run gtd python syncdb --noinput
stackato run gtd python migrate --noinput

# Create the admin user
stackato run gtd python createsuperuser --username=admin --noinput
stackato run gtd python changepassword2 admin secret123

# Visit http://gtd.stackato.local/; go to /admin/ to add tasks, projects and contexts.

Want to use MySQL?

To use mysql instead of postgresql on production, you need to make only a few changes before pushing your app:

  • In requirements.txt, replace psycopg2 with mysql-python
  • In, replace django.db.backends.postgresql_psycopg2 with django.db.backends.mysql
  • In, replace vcap_services['postgresql-8.4'][0] with vcap_services['mysql-5.1'][0]
Something went wrong with that request. Please try again.