Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation fix for django-admin commands #6232

Merged
merged 4 commits into from
Oct 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/community/project-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

---

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/1-serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down