Django

Django Environment

Django Environment

Setting up a Django development environment is not much difficult and can be done by following a few steps. The steps are as below:

Step – 1 Python Installation
As we all know that Django is purely written in Python programming language, and because of that, first you need to install Python on your system. Python comes by default on Linux and Mac systems, and you can simply check using the python command on the terminal. Otherwise, if you want to download the latest version of Python on your system or if you are a Windows user, then you can download Python by visiting Python’s official website:

https://www.python.org/downloads/

Step – 2 Django Installation
After you have successfully installed or updated Python on your system, you can move to the next step to install Django which depends on your Operating system. To download the Django framework, go to the link given below and follow the official download guide for Django:

https://www.djangoproject.com/download/

Step – 3 Setting up the database
There are several database engines supported by Django, and any database engine can be chosen based on your requirements. The list of supported databases is given below:

MySQL - http://www.mysql.com/
Oracle - http://www.oracle.com/index.html 
MongoDB - https://django-mongodb-engine.readthedocs.org/en/latest/ 
SQLite 3 - http://www.sqlite.org/ 
PostgreSQL - http://www.postgresql.org/ 

The links to respective database engines are given above, and you can refer to those links for installation. 

Step – 4 Django Web Server
The web server provided by the Django framework is very lightweight for developmental and testing activities. The server comes pre-configured, which makes it easy to work with Django and restarts for every modification you do during development and testing. 

Top course recommendations for you

    HR Database Management System
    1 hrs
    Beginner
    27.5K+ Learners
    4.5  (1013)
    SQL Projects for Beginners
    1 hrs
    Beginner
    73.2K+ Learners
    4.38  (4674)
    Docker Best Practices
    2 hrs
    Beginner
    7.3K+ Learners
    4.45  (331)
    Docker for Intermediate Level
    3 hrs
    Beginner
    8.2K+ Learners
    4.41  (281)
    Docker Orchestration
    3 hrs
    Intermediate
    4K+ Learners
    4.57  (148)
    Monitoring in Docker
    2 hrs
    Intermediate
    3.4K+ Learners
    4.42  (79)
    Docker Projects
    2 hrs
    Intermediate
    5.2K+ Learners
    4.66  (140)
    Competitive Programming Course
    2 hrs
    Beginner
    10.4K+ Learners
    4.15  (75)
    Android Studio Tutorial
    1 hrs
    Beginner
    15.3K+ Learners
    4.44  (1019)