diff --git a/files/es/learn/server-side/django/sessions/index.md b/files/es/learn/server-side/django/sessions/index.md index 249e7844c342f0..667cd63666de02 100644 --- a/files/es/learn/server-side/django/sessions/index.md +++ b/files/es/learn/server-side/django/sessions/index.md @@ -123,7 +123,8 @@ def index(request): # Numero de visitas a esta view, como está contado en la variable de sesión. num_visits = request.session.get('num_visits', 0) - request.session['num_visits'] = num_visits + 1 + num_visits += 1 + request.session['num_visits'] = num_visits context = { 'num_books':num_books,