Skip to content

[Ukrainian] "Deploy!" translation is outdated #1459

Open
@Searge

Description

@Searge

Issue description

First of all, the code from PythonAware chapter will not work:

(mvenv) $  pip install django whitenoise
Collecting django
[...]
Successfully installed django-1.8.2 whitenoise-2.0

It will download latest version that doesn't support Python 3.4 (which we have set before: '(master)$ virtualenv --python=python3.4 myvenv`)

Django requires Python '>=3.5' but the running Python is 3.4.9

I've lookup version from tutorial & execute that command:

(master)$ pip install django==1.8.2 whitenoise

BUT, then WhiteNoise writes on logs that:

Your WhiteNoise configuration is incompatible with WhiteNoise v4.0

So… I have found broken files …_pythonanywhere_com_wsgi.py, …/blog/myvenv/lib/python3.4/site-packages/whitenoise/django.py and have fix them with:

# 1. […]where_com_wsgi.py
from whitenoise import WhiteNoise
application = WhiteNoise(get_wsgi_application())

# 2. […]ise/django.py
raise ImportError(
        # '\n\n'

Then site have been lounched without any errors.

But as I said, the translation is outdated.

On english section there are no such commands at all.

So, I have two questions.

  1. Can I continue to learn the manual with the settings that I have now or I have to customize my environment, as it recommended in the English version. And if the second, then how revert changes?
  2. Do you need help with translation? I could bring this section in line with the English version and send pull request.

Ukrainian

🇺🇦 version & 🇬🇧 version

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions