Thursday, February 17, 2011

Small Note On DJango

Django can be downloaded from the official Django website at Given that it is written in Python,
the same package works on all major operating systems.

To start a new Django project, issue the following command:
$ startproject <project-name>

To edit database information, edit of <project-name> folder.

To create database tables, issue the following command:
$ python syncdb

To start the development server, issue the following command:
$ python runserver

Django project settings are stored in the file. This file is a
regular Python source file that can be edited using any source code editor.
To change a variable, simply assign the desired value to it.

No comments:

Post a Comment