top of page

Django

Public·1 member

Writing your first Django app

We’ll assume you haveDjango installed already. You can tell Django is installed and which version by running the following command in a shell prompt (indicated by the $ prefix):


$ python -m django --version

If Django is installed, you should see the version of your installation. If it isn’t, you’ll get an error telling “No module named django”.


Creating a project


$ django-admin startproject mysite

This will create a mysite directory in your current directory


36 Views
    bottom of page