Skip to content

Commit 8423db0

Browse files
committed
Fix enter formatting
1 parent ea23da6 commit 8423db0

File tree

20 files changed

+176
-176
lines changed

20 files changed

+176
-176
lines changed

en/django_admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OK, time to look at our Post model. Remember to run `python manage.py runserver`
1717

1818
![Login page](images/login_page2.png)
1919

20-
To log in, you need to create a *superuser* - a user which has control over everything on the site. Go back to the command-line and type `python manage.py createsuperuser`, and press enter. When prompted, type your username (lowercase, no spaces), email address, and password. Don't worry that you can't see the password you're typing in - that's how it's supposed to be. Just type it in and press 'Enter' to continue. The output should look like this (where username and email should be your own ones):
20+
To log in, you need to create a *superuser* - a user which has control over everything on the site. Go back to the command-line and type `python manage.py createsuperuser`, and press enter. When prompted, type your username (lowercase, no spaces), email address, and password. Don't worry that you can't see the password you're typing in - that's how it's supposed to be. Just type it in and press `enter` to continue. The output should look like this (where username and email should be your own ones):
2121

2222
(myvenv) ~/djangogirls$ python manage.py createsuperuser
2323
Username: admin

en/django_orm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ And then publish it with our `publish` method!
112112

113113
>>> post.publish()
114114

115-
Now try to get list of published posts again (press the up arrow button 3 times and hit Enter):
115+
Now try to get list of published posts again (press the up arrow button 3 times and hit `enter`):
116116

117117
>>> Post.objects.filter(published_date__lte=timezone.now())
118118
[<Post: Sample title>]

en/how_the_internet_works/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> This chapter is inspired by a talk "How the Internet works" by Jessica McKellar (http://web.mit.edu/jesstess/www/).
44
5-
We bet you use the Internet every day. But do you actually know what happens when you type an address like http://djangogirls.org into your browser and press 'Enter'?
5+
We bet you use the Internet every day. But do you actually know what happens when you type an address like http://djangogirls.org into your browser and press `enter`?
66

77
The first thing you need to understand is that a website is just a bunch of files saved on a hard disk. Just like your movies, music, or pictures.
88
However, there is one part that is unique for websites: they include computer code called HTML.

en/intro_to_command_line/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ or
5454

5555
> whoami
5656

57-
And then hit 'Enter'. This is our result:
57+
And then hit `enter`. This is our result:
5858

5959
$ whoami
6060
olasitarska
@@ -69,7 +69,7 @@ Each operating system has a slightly different set of commands for the command l
6969

7070
### Current directory
7171

72-
It'd be nice to know where are we now, right? Let's see. Type this command and hit 'Enter':
72+
It'd be nice to know where are we now, right? Let's see. Type this command and hit `enter`:
7373

7474
$ pwd
7575
/Users/olasitarska

en/python_introduction/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To start playing with Python, we need to open up a *command line* on your comput
1010

1111
Once you're ready, follow the instructions below.
1212

13-
We want to open up a Python console, so type in `python` on Windows or `python3` on Mac OS/Linux and hit Enter.
13+
We want to open up a Python console, so type in `python` on Windows or `python3` on Mac OS/Linux and hit `enter`.
1414

1515
$ python3
1616
Python 3.4.2 (...)
@@ -23,7 +23,7 @@ After running the Python command, the prompt changed to `>>>`. For us this means
2323

2424
If you want to exit the Python console at any point, just type `exit()` or use the shortcut `Ctrl + Z` for Windows and `Ctrl + D` for Mac/Linux. Then you won't see `>>>` any longer.
2525

26-
But now, we don't want to exit the Python console. We want to learn more about it. Let's start with something really simple. For example, try typing some math, like `2 + 3` and hit Enter.
26+
But now, we don't want to exit the Python console. We want to learn more about it. Let's start with something really simple. For example, try typing some math, like `2 + 3` and hit `enter`.
2727

2828
>>> 2 + 3
2929
5
@@ -95,7 +95,7 @@ These are the basics of every programming language you learn. Ready for somethin
9595

9696
## Errors
9797

98-
Let's try something new. Can we get the length of a number the same way we could find out the length of our name? Type in `len(304023)` and hit Enter:
98+
Let's try something new. Can we get the length of a number the same way we could find out the length of our name? Type in `len(304023)` and hit `enter`:
9999

100100
>>> len(304023)
101101
Traceback (most recent call last):
@@ -124,7 +124,7 @@ Let's say we want to create a new variable called `name`:
124124

125125
You see? It's easy! It's simply: name equals Ola.
126126

127-
As you've noticed, your program didn't return anything like it did before. So how do we know that the variable actually exists? Simply enter `name` and hit Enter:
127+
As you've noticed, your program didn't return anything like it did before. So how do we know that the variable actually exists? Simply enter `name` and hit `enter`:
128128

129129
>>> name
130130
'Ola'

es/django_admin/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@ Vamos a abrir el archivo `blog/admin.py` y reemplazar su contenido con esto:
66

77
from django.contrib import admin
88
from .models import Post
9-
9+
1010
admin.site.register(Post)
11-
11+
1212

1313
Como puedes ver, importamos (incluimos) el modelo Post definido en el capítulo anterior. Para hacer nuestro modelo visible en la página del administrador, tenemos que registrar el modelo con `admin.site.register(Post)`.
1414

1515
Es hora de mirar a nuestro modelo de Post. Recuerde que debe ejecutar `python manage.py runserver` en la consola para ejecutar el servidor web. Vaya al navegador y escriba la dirección:
1616

1717
http://127.0.0.1:8000/admin/
18-
18+
1919

2020
Usted verá una página de inicio de sesión como esta:
2121

2222
![Página de inicio de sesión][1]
2323

2424
[1]: images/login_page2.png
2525

26-
Para poder entrar necesitas crear un *superusuario* - un usuario que tiene control sobre todo en el sitio. Vuelve a la línea de comandos y escribe `python manage.py createsuperuser`, presione enter y escriba su nombre de usuario (en minúscula, sin espacios), dirección de correo electrónico y contraseña cuando te pregunten por ellos. La salida debe ser así (donde nombre de usuario y correo electrónico deben ser los tuyos):
26+
Para poder entrar necesitas crear un *superusuario* - un usuario que tiene control sobre todo en el sitio. Vuelve a la línea de comandos y escribe `python manage.py createsuperuser`, presiona `enter` y escriba su nombre de usuario (en minúscula, sin espacios), dirección de correo electrónico y contraseña cuando te pregunten por ellos. La salida debe ser así (donde nombre de usuario y correo electrónico deben ser los tuyos):
2727

2828
(myvenv) ~/djangogirls$ python manage.py createsuperuser
2929
Username: admin
3030
Email address: [email protected]
3131
Password:
3232
Password (again):
3333
Superuser created successfully.
34-
34+
3535

3636
Regresa a tu navegador e inicia sesión con las credenciales de superusuario que elegiste, deberías ver el tablero de administración de Django.
3737

es/django_orm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Y luego publicarlo con nuestro método de `publish`!
132132
>>> post.publish()
133133

134134

135-
Ahora intenta obtener lista de mensajes publicados otra vez (presiona 3 veces el botón de la flecha hacia arriba y pulse Enter):
135+
Ahora intenta obtener lista de mensajes publicados otra vez (presiona 3 veces el botón de la flecha hacia arriba y pulse `enter`):
136136

137137
>>> Post.objects.filter(published_date__isnull=False)
138138
[<Post: Sample title>]

es/how_the_internet_works/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Este capitulo está inspirado por la charla "How the Internet works" de Jessica McKellar (http://web.mit.edu/jesstess/www/).
44
5-
Apostamos que utilizas Internet cada día. Pero, ¿sabes lo que pasa cuando escribe una dirección como http://djangogirls.org en tu navegador y presionas 'Enter'?
5+
Apostamos que utilizas Internet cada día. Pero, ¿sabes lo que pasa cuando escribe una dirección como http://djangogirls.org en tu navegador y presionas `enter`?
66

77
Lo primero que tienes que entender es que un sitio web es sólo un montón de archivos guardados en un disco duro. Al igual que tus películas, música o fotos. Sin embargo, los sitios web poseen una peculiaridad: ellos incluyen un código de computadoras llamado HTML.
88

@@ -50,4 +50,4 @@ Así que, básicamente, cuando tienes un sitio web necesitas tener un *servidor*
5050

5151
Puesto que este es un tutorial de Django, seguro te preguntarás qué es lo que hace Django. Bueno, cuando envías una respuesta, no siempre quieres enviar lo mismo a todo el mundo. Es mucho mejor si tus cartas son personalizados, especialmente para la persona que acaba de escribir, ¿cierto? Django nos ayuda con la creación de estas cartas personalizadas, interesante :).
5252

53-
así que basta de charlas y pongamos manos a la obra!
53+
así que basta de charlas y pongamos manos a la obra!

es/intro_to_command_line/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ o
5656
> whoami
5757

5858

59-
Y luego oprime la tecla Enter. Este es el resultado:
59+
Y luego oprime la tecla `enter`. Este es el resultado:
6060

6161
$ whoami olasitarska
6262

@@ -71,7 +71,7 @@ Cada sistema operativo tiene un conjunto diferente de comandos para la línea de
7171

7272
### Directorio actual
7373

74-
Sería bueno saber dónde estamos ahora, ¿cierto? Vamos a ver. Escribe este comando y oprime Enter:
74+
Sería bueno saber dónde estamos ahora, ¿cierto? Vamos a ver. Escribe este comando y oprime `enter`:
7575

7676
$ pwd
7777
/usuarios/olasitarska

es/python_introduction/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Para empezar a jugar con Python, tenemos que abrir una *línea de comandos* en n
1212

1313
Una vez que estés listo, sigue las siguientes instrucciones.
1414

15-
Queremos abrir una consola de Python, así que escribe `python3` y pulsa Enter.
15+
Queremos abrir una consola de Python, así que escribe `python3` y pulsa `enter`.
1616

1717
$ python3
1818
Python 3.4.2 (...)
@@ -26,7 +26,7 @@ Después de ejecutar el comando de Python, el cursor cambia a `>>>`. Para nosotr
2626

2727
Si deseas salir de la consola de Python en cualquier momento, simplemente escribe `exit()` o usar el atajo `Ctrl + Z` para Windows y `Ctrl + D` para Mac/Linux. Entonces no verás `>>>`.
2828

29-
Pero ahora, no queremos salir de la consola de Python. Queremos aprender más sobre él. Vamos a empezar con algo muy simple. Por ejemplo, trata de escribir algo de matemáticas, como `2 + 3` y pulsa Enter.
29+
Pero ahora, no queremos salir de la consola de Python. Queremos aprender más sobre él. Vamos a empezar con algo muy simple. Por ejemplo, trata de escribir algo de matemáticas, como `2 + 3` y pulsa `enter`.
3030

3131
>>> 2 + 3
3232
5
@@ -96,14 +96,14 @@ Ok, suficiente de strings. Hasta ahora has aprendido sobre:
9696

9797
* **la terminal** - teclea comandos (código) dentro de la terminal de Python para obtener resultados en preguntas en Python
9898
* **números y strings** - en Python los números son usados para matemáticas y strings para objetos de texto
99-
* **operadores** - como + y *, combinan valores para producir uno nuevo
99+
* **operadores** - como + y \*, combinan valores para producir uno nuevo
100100
* **funciones** como upper() y len(), realizan opciones sobre los objetos.
101101

102102
Estos son los conocimientos básicos que puedes aprender de cualquier lenguaje de programación. ¿Listo para algo un poco más fuerte? ¡Apostamos que lo estás!
103103

104104
## Errores
105105

106-
Intentemos con algo nuevo. ¿Podríamos obtener la longitud de un número de la misma manera que obtuvimos la longitud de nuestro nombre? Teclea `len(304023)` y presiona Enter:
106+
Intentemos con algo nuevo. ¿Podríamos obtener la longitud de un número de la misma manera que obtuvimos la longitud de nuestro nombre? Teclea `len(304023)` y presiona `enter`:
107107

108108
>>> len(304023)
109109
Traceback (most recent call last):
@@ -135,7 +135,7 @@ Supongamos que queremos crear una nueva variable llamada `nombre`:
135135

136136
¿Ves? ¡Es fácil! Es simplemente: name equivale a Ola.
137137

138-
Como te has dado cuenta, el programa no regresa algo como lo hacia antes. Entonces, ¿Cómo sabemos que la variable existe realmente? Simplemente introduce `name` y pulsa Enter:
138+
Como te has dado cuenta, el programa no regresa algo como lo hacia antes. Entonces, ¿Cómo sabemos que la variable existe realmente? Simplemente introduce `name` y pulsa `enter`:
139139

140140
>>> name
141141
'Ola'

0 commit comments

Comments
 (0)