Skip to content

Commit

Permalink
[Fixes #181] Add proper path to django-admin.py on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aniav committed Feb 12, 2015
1 parent 1ddb47e commit f42b0ac
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 5 additions & 1 deletion en/django_start_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ In console you should run (remember that you don't type `(myvenv) ~/djangogirls$

(myvenv) ~/djangogirls$ django-admin startproject mysite .

On Windows:

(myvenv) C:\Users\Name\djangogirls> python myvenv\Scripts\django-admin.py startproject mysite .

> **Note** Double-check that you included the period (`.`) at the end of the command, it's important.
`django-admin` is a script that will create the directories and files for you. You should now have a directory structure which looks like this:
`django-admin.py` is a script that will create the directories and files for you. You should now have a directory structure which looks like this:

djangogirls
├───manage.py
Expand Down
6 changes: 5 additions & 1 deletion pl/django_start_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ Uruchom w konsoli (pamiętaj, że nie musisz pisać `(myvenv) ~/djangogirls$`, O
Uruchom komende:

django-admin startproject mysite .
(myvenv) ~/djangogirls$ django-admin startproject mysite .

Dla Windows:

(myvenv) C:\Users\Nazwa\djangogirls> python myvenv\Scripts\django-admin.py startproject mysite .

> **Uwaga:** Pamiętaj koniecznie o kropce (`.`) na końcu polecenia, ona jest tam niezbędna.
Expand Down
8 changes: 6 additions & 2 deletions uk/django_start_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
Запустіть:

django-admin startproject mysite .


для Windows:

(myvenv) C:\Users\Name\djangogirls> python myvenv\Scripts\django-admin.py startproject mysite .


> **Зауваження** Переконайтесь, що ви включили (`.`) вкінці команди, це важливо.
`django-admin` - це скрипт, що створить для вас усі необхідні папки і файли. Наразі ви повинні мати структуру, котра виглядає наступним чином:
`django-admin.py` - це скрипт, що створить для вас усі необхідні папки і файли. Наразі ви повинні мати структуру, котра виглядає наступним чином:

djangogirls
├───manage.py
Expand Down

0 comments on commit f42b0ac

Please sign in to comment.