From 48d1800e9fba4ffb463c76e4d3d7f8eac85d626a Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Fri, 14 Apr 2023 18:54:48 +0100 Subject: [PATCH] Add a note about lack of support in PythonAnywhere --- docs/deployment-on-pythonanywhere.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deployment-on-pythonanywhere.rst b/docs/deployment-on-pythonanywhere.rst index d01c24e3f..332273c72 100644 --- a/docs/deployment-on-pythonanywhere.rst +++ b/docs/deployment-on-pythonanywhere.rst @@ -34,9 +34,10 @@ Make sure your project is fully committed and pushed up to Bitbucket or Github o git clone # you can also use hg cd my-project-name - mkvirtualenv --python=/usr/bin/python3.11 my-project-name + mkvirtualenv --python=/usr/bin/python3.10 my-project-name pip install -r requirements/production.txt # may take a few minutes +.. note:: Although Cookiecutter Django generates a project for Python 3.11, however at time of writing PythonAnywhere only supports Python 3.10, hence why we're using this here, which shouldn't be a problem. You may try changing the python version to 3.11 on the line ``mkvirtualenv`` above and see if it works. If it does, please let us know, or even better, submit a pull request to update this section. Setting environment variables in the console --------------------------------------------