G.5 Django
With both Python and pip
installed on your system, and a virtual environment for your project you can now install Django, as shown in Example G.2.
$ pip install Django
Similarly, this will allow you to quickly install any third-party apps or Python tools needed for your project, as briefly discussed in Chapter 30: Starting a New Project Correctly.
On some systems, you will also need to install SQLite, which is used as the default database in Django (on other systems, such as Mac OS X, the database manager is already installed). You will need to use the system package manager installed in the first step to do this (pip
cannot help you).
Get Django Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.