Django Tutorial

Django Installation

You can go to the following website and get the latest version of django. Download it to any place on your harddrive. Goto the location where you installed it and then type the following

$ tar xvzf <name of tar file>
$ cd name-of-the-folder
$ sudo python install

After this Django should be installed on the machine

Create your First Project in Django

The is responsible for creating the directories and files that will be used in the project.The following snippet of code when run on the command line will create a project titled eshelf. It will first create a directory with the same name, if we list the files in this directory we have the files as seen in the code block. startproject eshelf

will create 
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License