Deploy Django from Windows to Linux

Hi Guys. Please help answer some questions for me regarding deployment.

I have developed my Django Project / apps on a windows laptop with local DB install of MariaDB. I have been informed my options have been changed to deployment in a Linux (RHEL) environment and move the PostgreSQL DB over to separate Linux(RHEL) VM.

Clearly I will of course have the Linux DB VM provisioned by our support group with PostgreSQL and then I will create / test my current Django project connection to that made before the Django project move. They also will not let me containerize it at this point in time. Otherwise I would Dockerize it or Podman is very nice. I do like Linux since it allows me to use Gunicorn and Nginx instead of trying to configure IIS or Waitress. Being this is a large national company and they are slow to allow certain changes in there environment.

My question is can I deploy my Django project from a Windows Dev environment to a Linux (RHEL) VM? I have found every answer under the sun saying yes as many times as it says no. I love that clarity. lol. Also all the ways to do it and as many saying that does not work, or huge problems. Someone please get me on the right page if not direct advice on doing this.
Thank u in advance.

Yes. Django itself doesn’t care where the system was developed vs where it’s deployed. You do need to ensure that you aren’t relying upon any Windows-specific libraries and are not using any Windows-style paths in file or directory references.

Beyond those two items, there’s no fundamental difference between deploying to a Linux environment from a Windows development environment or from a Linux development environment.