Version 3 (modified by 12 years ago) (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