http://www.djangoproject.com/. 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:
$ django-admin.py startproject <project-name>
To edit database information, edit settings.py of <project-name> folder.
To create database tables, issue the following command:
$ python manage.py syncdb
To start the development server, issue the following command:
$ python manage.py runserver
Django project settings are stored in the settings.py 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