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
    26.9K+ Learners
    4.5  (894)
    SQL Projects for Beginners
    1 hrs
    Beginner
    71.6K+ Learners
    4.38  (4301)
    Docker Best Practices
    2 hrs
    Beginner
    7.1K+ Learners
    4.39  (271)
    Docker for Intermediate Level
    3 hrs
    Beginner
    8.1K+ Learners
    4.4  (249)
    Docker Orchestration
    3 hrs
    Intermediate
    3.9K+ Learners
    4.59  (117)
    Monitoring in Docker
    2 hrs
    Intermediate
    3.3K+ Learners
    4.36  (59)
    Docker Projects
    2 hrs
    Intermediate
    5K+ Learners
    4.66  (117)
    Competitive Programming Course
    2 hrs
    Beginner
    10.1K+ Learners
    4.14  (73)
    Android Studio Tutorial
    1 hrs
    Beginner
    15K+ Learners
    4.43  (932)