Starting your project with Django
Before you start using Django, you need to create an environment for your applications. We will create a Django project. This project will then contain our applications.
To create the project of our application, we need to run the following command using the django-admin.py
file (you can find it in the Python33\Scripts
folder):
django-admin.py startproject Work_manager
So as to facilitate the use of the Django commands, we can set the environmental variable of Windows. To do this, you must perform the following steps:
- Right-click on My computer on the desktop.
- Click on Advanced System Settings.
- Next, click on Environmental Variable.
- Add or update the
PATH
variable:- If it does not exist, create the
PATH
variable and ...
- If it does not exist, create the
Get Django: Web Development with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.