Django

Django App Starter Template

by Archie To, 20 January 2023

Django App Starter Template: https://gitlab.com/uvic-arcsoft/strap/app-starter-django/-/tree/archie Introduction - Existing Problem Django is a very popular web framework known by many Python developers. RCS ARC Software Team decided to use this framework as the main technology to develop multiple web applications, which will eventually serve the need of researchers, falcuty members and employees in the University of Victoria. All of these applications have some identical functionalities such as authenticating users by HTTP request headers, displaying separated pages for normal users and admin users, and providing an about page for web developers.

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: