From 9c85e85598e0c6c4066821a5e9e86b9e4a6e18b8 Mon Sep 17 00:00:00 2001 From: Jufebrown Date: Wed, 3 Oct 2018 09:21:13 -0500 Subject: [PATCH 1/4] fix django-admin commands on quickstart doc --- docs/tutorial/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 13152edae5..108e5742a7 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -19,9 +19,9 @@ Create a new Django project named `tutorial`, then start a new app called `quick pip install djangorestframework # Set up a new project with a single application - django-admin.py startproject tutorial . # Note the trailing '.' character + django-admin startproject tutorial . # Note the trailing '.' character cd tutorial - django-admin.py startapp quickstart + django-admin startapp quickstart cd .. The project layout should look like: From 7cad027cb2755edceca1498b8d230ac294931db3 Mon Sep 17 00:00:00 2001 From: Jufebrown Date: Wed, 3 Oct 2018 09:25:43 -0500 Subject: [PATCH 2/4] fix django-admin commands on tutorial/1-serialization doc --- docs/tutorial/1-serialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 630c3da0af..387f99edad 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -33,7 +33,7 @@ Okay, we're ready to get coding. To get started, let's create a new project to work with. cd ~ - django-admin.py startproject tutorial + django-admin startproject tutorial cd tutorial Once that's done we can create an app that we'll use to create a simple Web API. From d921f4493ce17412a006b97d7198b2f6f4f7ea34 Mon Sep 17 00:00:00 2001 From: Jufebrown Date: Wed, 3 Oct 2018 09:28:25 -0500 Subject: [PATCH 3/4] fix django-admin command on readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 919f85d004..42edadd194 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Startup up a new project like so... pip install django pip install djangorestframework - django-admin.py startproject example . + django-admin startproject example . ./manage.py migrate ./manage.py createsuperuser From 03c05b3fc69e6869919e65c847f4d75d8610ff99 Mon Sep 17 00:00:00 2001 From: Jufebrown Date: Wed, 3 Oct 2018 09:31:26 -0500 Subject: [PATCH 4/4] fix django-admin command on docs/community/project-management.md --- docs/community/project-management.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/community/project-management.md b/docs/community/project-management.md index 21f93b3805..5d7dab5612 100644 --- a/docs/community/project-management.md +++ b/docs/community/project-management.md @@ -152,7 +152,7 @@ When any user visible strings are changed, they should be uploaded to Transifex # 1. Update the source django.po file, which is the US English version. cd rest_framework - django-admin.py makemessages -l en_US + django-admin makemessages -l en_US # 2. Push the source django.po file to Transifex. cd .. tx push -s @@ -173,7 +173,7 @@ When a translator has finished translating their work needs to be downloaded fro tx pull -a --minimum-perc 10 cd rest_framework # 4. Compile the binary .mo files for all supported languages. - django-admin.py compilemessages + django-admin compilemessages ---