Quick install guideLink to this heading
Before you can use Django, you’ll need to get it installed. We have a complete installation guide that covers all the possibilities; this guide will guide you to a simple, minimal installation that’ll work while you walk through the introduction.
Install PythonLink to this heading
Being a Python Web framework, Django requires Python. See What Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet.
Get the latest version of Python at https://www.python.org/download/ or with your operating system’s package manager.
You can verify that Python is installed by typing python from your shell;
you should see something like:
Python 3.4.x
[GCC 4.x] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Set up a databaseLink to this heading
This step is only necessary if you’d like to work with a “large” database engine like PostgreSQL, MySQL, or Oracle. To install such a database, consult the database installation information.
Remove any old versions of DjangoLink to this heading
If you are upgrading your installation of Django from a previous version, you will need to uninstall the old Django version before installing the new version.
Install DjangoLink to this heading
You’ve got three easy options to install Django:
Install an official release. This is the best approach for most users.
Install a version of Django provided by your operating system distribution.
Install the latest development version. This option is for enthusiasts who want the latest-and-greatest features and aren’t afraid of running brand new code. You might encounter new bugs in the development version, but reporting them helps the development of Django. Also, releases of third-party packages are less likely to be compatible with the development version than with the latest stable release.
VerifyingLink to this heading
To verify that Django can be seen by Python, type python from your shell.
Then at the Python prompt, try to import Django:
>>> import django >>> print(django.get_version()) 1.10
You may have another version of Django installed.
That’s it!Link to this heading
That’s it – you can now move onto the tutorial.