What IS Django
Short introduction to Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
Being a Python framework, Django requires Python to run. Django is compatible with Python2, Python3 (the recommended version).
To get started working with Python3, you’ll need to have access to the Python interpreter (the console, and related tools and libraries). We can accomplish this in several ways:
- Use a package manager like yum, apt on Linux systems
- Homebrew for MacOS users.
- Build Python from sources, a method used by super-geeks.
To install Python on our windows workstation, a few simple steps should be followed:
- Select the installer that matches the OS (32b or 64b)
- Execute the installer (using the default options, should be enough in most of the cases)
- Test the installation by typing
python --versionin a terminal
There is a very good chance your Linux distribution has Python installed already, but it probably won’t be the latest version, and it may be Python 2 instead of Python3. To check the installed versions, just type:
$ python --version
$ python3 --version
To install, you should first update your system with the
$ sudo yum install python36u
$ sudo yum install python36u-pip