O'Reilly logo

Django 1.0 Web Site Development by Ayman Hourieh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we prepared our development environment, created our first project, and learned how to launch the Django development server. We are now ready to start building our social bookmarking application.

Here is a quick summary of the Django features covered in this chapter:

  • Django can be downloaded from the official Django website at 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 create database tables, issue the following command:
    $ python manage.py syncdb
    
  • To start the development server, issue the following command:
    $ python manage.py runserver

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required