In this tutorial i will share with you how to build real world application with Django.
What is Django ?
Django is a high level web framework built in top of Python.
Who use Django ?
Django is used by lot of companies such as Facebook, Google, Pinterest, Mozila etc...
What we will build ?
We go to build a simple phone-book application, but the ideas in this tutorial is applicable in any application.
Let's getting started :
To install django in our machine we need to follow these step :
- Install Python with PIP
- Create a virtual environment
- Install Django on it
Follow these instructions to install Python and PIP.
I will create a folder for this project and create an envirotnemnet on it :
$ mkdir django-3-0 $ cd django-3-0 $ python3 -m venv ./my-env
After that we need to activate it
$ source my-env/bin/activate (my-env)
We will use Django CLI, it comes with very useful commands.
(my-env) $ django-admin startproject phonebook && cd phonebook
To to our application we need to run django server
(my-env) $ python manage.py runserver
See you in the next tutorial