Skip to content

Commit d7dff45

Browse files
authored
Merge pull request DjangoGirls#1736 from henziger/patch-3
Minor fixes to Django installation instructions
2 parents cb4cdb9 + 49d0102 commit d7dff45

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

en/django_installation/instructions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To create a new `virtualenv`, you need to open the command prompt and run `pytho
4141
C:\Users\Name\djangogirls> python -m venv myvenv
4242
```
4343

44-
Where `myvenv` is the name of your `virtualenv`. You can use any other name, but stick to lowercase and use no spaces, accents or special characters. It is also good idea to keep the name short – you'll be referencing it a lot!
44+
Where `myvenv` is the name of your `virtualenv`. You can use any other name, but stick to lowercase and use no spaces, accents or special characters. It is also a good idea to keep the name short – you'll be referencing it a lot!
4545

4646
<!--endsec-->
4747

@@ -106,7 +106,7 @@ $ python3 -m venv myvenv
106106
107107
## Working with virtualenv
108108
109-
The command above will create a directory called `myvenv` (or whatever name you chose) that contains our virtual environment (basically a bunch of directory and files).
109+
The command above will create a directory called `myvenv` (or whatever name you chose) that contains our virtual environment (basically a bunch of directories and files).
110110
111111
<!--sec data-title="Working with virtualenv: Windows" data-id="virtualenv_windows"
112112
data-collapse=true ces-->
@@ -118,7 +118,7 @@ Start your virtual environment by running:
118118
C:\Users\Name\djangogirls> myvenv\Scripts\activate
119119
```
120120
121-
> __NOTE:__ on Windows 10 you might get an error in the Windows PowerShell that says `execution of scripts is disabled on this system`. In this case, open another Windows PowerShell with the "Run as Administrator" option. Then try typing the following command before starting your virtual environment:
121+
> __NOTE:__ On Windows 10 you might get an error in the Windows PowerShell that says `execution of scripts is disabled on this system`. In this case, open another Windows PowerShell with the "Run as Administrator" option. Then try typing the following command before starting your virtual environment:
122122
>
123123
>{% filename %}command-line{% endfilename %}
124124
>```
@@ -129,7 +129,7 @@ C:\Users\Name\djangogirls> myvenv\Scripts\activate
129129
130130
<!-- (This comment separates the two blockquote blocks, so that GitBook and Crowdin don't merge them into a single block.) -->
131131
132-
> __NOTE:__ For users of the popular editor VS Code, which come with an integrated terminal based off windows PowerShell, if you wish to stick with the integrated terminal, you may run the following command to activate your virtual environment:
132+
> __NOTE:__ For users of the popular editor VS Code, which comes with an integrated terminal based off windows PowerShell, if you wish to stick with the integrated terminal, you may run the following command to activate your virtual environment:
133133
>
134134
>```
135135
>$ . myvenv\Scripts\activate.ps1
@@ -150,7 +150,7 @@ $ source myvenv/bin/activate
150150
151151
Remember to replace `myvenv` with your chosen `virtualenv` name!
152152
153-
> __NOTE:__ sometimes `source` might not be available. In those cases try doing this instead:
153+
> __NOTE:__ If the command `source` is not available, try doing this instead:
154154
>
155155
>{% filename %}command-line{% endfilename %}
156156
>```
@@ -211,14 +211,14 @@ Successfully installed Django-{{ book.django_version }}
211211
<!--sec data-title="Installing Django: Windows" data-id="django_err_windows"
212212
data-collapse=true ces-->
213213
214-
> If you get an error when calling pip on Windows platform, please check if your project pathname contains spaces, accents or special characters (for example, `C:\Users\User Name\djangogirls`). If it does, please consider using another place without spaces, accents or special characters (suggestion: `C:\djangogirls`). Create a new virtualenv in the new directory, then delete the old one and try the above command again. (Moving the virtualenv directory won't work since virtualenv uses absolute paths.)
214+
> If you get an error when calling pip on Windows, please check if your project pathname contains spaces, accents or special characters (for example, `C:\Users\User Name\djangogirls`). If it does, please consider using another place without spaces, accents or special characters (suggestion: `C:\djangogirls`). Create a new virtualenv in the new directory, then delete the old one and try the above command again. (Moving the virtualenv directory won't work since virtualenv uses absolute paths.)
215215
216216
<!--endsec-->
217217
218218
<!--sec data-title="Installing Django: Windows 8 and Windows 10" data-id="django_err_windows8and10"
219219
data-collapse=true ces-->
220220
221-
> Your command line might freeze after when you try to install Django. If this happens, instead of the above command use:
221+
> Your command line might freeze when you try to install Django. If this happens, instead of the above command use:
222222
>
223223
>{% filename %}command-line{% endfilename %}
224224
>```

0 commit comments

Comments
 (0)