Setting up the virtual environment with Django REST framework

In Chapter 1, Developing RESTful APIs and Microservices with Flask 1.0.2, we learned that, throughout this book, we are going to work with the lightweight virtual environments introduced and improved in Python 3.4. Now we will follow many steps to create a new lightweight virtual environment to work with Flask and Flask-RESTful.

It is highly recommended that you read the section named Working with lightweight virtual environments in Chapter 1, Developing RESTful APIs and Microservices with Flask 1.0.2, if you don't have experience with lightweight virtual environments in modern Python. The chapter includes all the detailed explanations about the effects of the steps we are going ...

Get Hands-On RESTful Python Web Services - Second Edition 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.