django notes 
Create a project
django-admin.py startproject mysite
Create a new app:
Several apps can exist in the same project
python manage.py startapp polls
Sync the view with the db
python manage.py syncdb
Run the test server
python manage.py runserver 8080
 Show what SQL statements will be generated from models 
python manage.py sql appName
Commit the databases changes to the database
python manage.py syncdb
 
				
				
There are no comments on this page. [Add comment]