DjangoGirls / tutorial

This is a tutorial we are using for Django Girls workshops
http://tutorial.djangogirls.org/
Other
1.53k stars 1.86k forks source link

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

Open Searge opened 5 years ago

Searge commented 5 years ago

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

:ukraine: version & :gb: version

ekohl commented 5 years ago

Help is always highly welcome. Translations are done via crowdin. https://github.com/DjangoGirls/tutorial#editing-basics has slightly more but since I haven't done any translations I can't give first hand experience.