wiki:Programming/Django

Version 3 (modified by Jorrit, at 2012-07-22T10:26:54+02:00) ( diff )

--

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

Note: See TracWiki for help on using the wiki.