Flask
Converting Flask App Starter Into Django
by Archie To, 28 October 2022
My goal in this project is to convert a Flask skeleton code into Django.
- The source code for Flask app (initial product): https://gitlab.com/dleske/oft
- The source code for Django app (final product): https://gitlab.com/uvic-arcsoft/strap/app-starter-django
The blog will summarize my takes on Flask and Django.
Authentication transformation
1. Authentication system in the Flask code:
Flask code authenticates users by checking the HTTP request header “X-Forwarded-User”. There are four levels of authentication and authorization in the Flask code: