Skip to content

Fix broken link in Spanish language tutorial. - #1908

Merged
amakarudze merged 1 commit into
DjangoGirls:masterfrom
caarmen:fix-es-error
Nov 9, 2026
Merged

amakarudze merged 1 commit into
DjangoGirls:masterfrom
caarmen:fix-es-error

Conversation

@caarmen

@caarmen caarmen commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Context: I started going through the tutorial to prepare for the PyCon España conference.

I found one broken link.

I haven't gone through the whole tutorial, so not sure if there are other errors.

Changes in this pull request:

  • Fix link to code editor page, from python_introduction page.

Fix link to code editor page, from python_introduction page.
@caarmen

caarmen commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

I've been going through the tutorial for PyconES.

Here are some more issues. I haven't had time yet to prepare fixes. Let me know if you prefer for me to open separate issues.


I noticed another detail in the Spanish version of the deploy page. It mentions Python 3.6 whereas in the English version it mentions 3.10.

This is the line:

$ pa_autoconfigure_django.py --python=3.6 https://github.com/<your-github-username>/my-first-blog.git

The bootstrap instructions in the css page need updating too.

Spanish:

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">

English:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">

In the page about extending the app to add a details page, there's a little typo:

En blog/urls.py creamos un regla de URL denominada post_detail que hace referencia a una vista llamada view.post_detail. Esto significa que Django va a estar esperando una función llamada post_detail de vista en blog/views.py

It should be views.post_detail, not view.post_detail.


The deploy instructions in Spanish don't mention creating a personal access token in GitHub. They still suggest to specify the account password when doing git push. This doesn't work anymore. The English instructions are correct.


The deploy page (in English and Spanish) seems to be missing an instruction to go to Web -> Add a new webapp, before doing this command:

$ pa_autoconfigure_django.py --python=3.10 https://github.com/<your-github-username>/my-first-blog.git

If a user forgets the "Add a new webapp" step, they will get a 403 when trying the above command. At this point, the solution is to 1) create the webapp, and 2) run the command adding --nuke at the end.


In the extension for authorization: both English and Spanish pages say to use views.LogoutView.as_view for the logout view. This is fine, but the GET method is no longer supported for this view in recent versions of Django. So, this results in 405 errors:

<p class="top-menu">Hello {{ user.username }} <small>(<a href="{% url 'logout' %}">Log out</a>)</small></p>

For info, a form specifying post would work:

<form method="post" action="{% url 'logout' %}">{% csrf_token %}<input type="submit" value="Log out"></form>

@amakarudze
amakarudze merged commit ab263e9 into DjangoGirls:master Nov 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants