Sun GlassFish Enterprise Server v3 Scripting Framework Guide

ProcedureTo Create a Simple Django Project

Django comes with a built-in administration utility. You can enable it to make the process of creating projects easier.

  1. Use the following command to enable the Django administration utility:

    alias django–admin-jy="jython jython-install-location/bin/django-admin.py"

  2. Change to Django install directory:

    cd django-install-location

  3. Use the following command to create a project:

    django-admin-jy startproject <myproject>