django cant support python3.0
python setup.py install to setup django
django-admin.py the admin tool
4 database support:
postgresql, sqlite 3, mysql, oracle
suggest: postgresql
for simple use, sqlite3
put the codes out of document root folder
Goto the folder you just created, run command: django-admin.py startporject mysite, will create a folder under your working folder
structure
mysite/
__init__.py
manage.py
settings.py
urls.py
__init__.py, no use
manage.py, should be no use
settings.py configuration
urls.py url configuration
python manage.py runserver
will run django server on 8000 port
also you can run command: python manage.py runserver 8080