wiki:Programming/Django

Django

Just some things to remember when starting django site

Start a project:

django-admin.py startproject mysite

Edit the settings.py file with correct DB settings

Start test server:

python manage.py runserver 0.0.0.0:8000

Create an app:

python manage.py startapp polls

Activate the app by editing the settings.py file again, and change the INSTALLED_APPS to include the project

Last modified 12 years ago Last modified on 07/22/12 10:26:54