December 2018
Intermediate to advanced
500 pages
12h 33m
English
Now we will perform the following tasks:
Open the views.py file within the service folder and add the following code after the last line that uses the import statement and before the lines that declare the Blueprint instance named service_blueprint. The code file for the sample is included in the restful_python_2_03_02 folder, in the Flask01/service/views.py file:
from flask_httpauth ...