Sunday, June 22, 2008

Django notes

I'm learning Django framework. Here are notes that I want to remember as I go...

Create a project:
django-admin.py startproject projectname
Start development server:
python manage.py runserver
Invoke python shell:
python manage.py dbshell
Create or update database:
python manage.py syncdb
Create a new application within a project:
python manage.py startapp appname

0 comments: