Search code examples
python-3.xdjangogithubheroku

Django 2.0 website running on a Django 4.0 backend


I am using an old version of Windows, windows 7 to be precise and it seems to only be compatible with Python 3.4 which supports Django 2.0 but heroku doesn't support it anymore So I want to know if I can manually edit the requirements to Django 4.0 and the required Python version in github.

I haven't yet tried anything as I am new to this


Solution

  • Consider using docker to run your application:

    https://github.com/docker/awesome-compose/tree/master/official-documentation-samples/django/

    This would allow you to set your python and Django version.