AA-2723: Migrate AMP codebase to Python3 and Django5
Review Request #866 — Created May 14, 2025 and submitted — Latest diff uploaded
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_4_0 | |
| Reviewers | |
| pmurugaiyan, prajesh, shuinvy | |
Problem
AMP has older version of python and Django.
As part of OS upgrade need to Migrate codebase to be aligned with the latest python and Django as many of the modules are deprecated and new ones addedSolution
Have made changes to get the codebase in sync with latest python 3.13 and Django 5.2
Tested that the project is running
[root@localhost admin]# curl -i http://127.0.0.1:8000/login
HTTP/1.1 200 OK
Date: Tue, 13 May 2025 04:28:13 GMT
Server: WSGIServer/0.2 CPython/3.13.0
Content-Type: text/html; charset=utf-8
Connection: close<div style="padding:40px;margin:0 0;text-align:left;">
<h1 style="font-size:24px;"><i class="fa fa-warning"></i> Error</h1>
<h2 style="font-size:18px;">500 - Internal error.<br /> Please contact system administrator.</h2>The internal error we see is because of some 'C' related issues which will be picked up as another story
