summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-18 10:35:41 -0400
committerTim Graham <timograham@gmail.com>2013-09-18 10:35:41 -0400
commitd1c9802811b5c3f5abd3defcfecac160135fa6e7 (patch)
treec1fb66b53bace025898d8283060adb290e68291b /docs/topics
parent2daada800f8e28cc1ba664b3008efaefab8fb570 (diff)
Fixed #21116 -- Made usage of manage.py in docs more consistent.
Thanks daniel.quattro at gmail.com for the report.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/auth/default.txt2
-rw-r--r--docs/topics/cache.txt2
-rw-r--r--docs/topics/migrations.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 4d86a7330e..d7efd3e858 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -70,7 +70,7 @@ first time you run it with ``'django.contrib.auth'`` in your
:setting:`INSTALLED_APPS`. If you need to create a superuser at a later date,
you can use a command line utility::
- manage.py createsuperuser --username=joe --email=joe@example.com
+ $ python manage.py createsuperuser --username=joe --email=joe@example.com
You will be prompted for a password. After you enter one, the user will be
created immediately. If you leave off the :djadminopt:`--username` or the
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 2e388712d9..5892b6f026 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -162,7 +162,7 @@ Database caching
To use a database table as your cache backend, first create a cache table in
your database by running this command::
- python manage.py createcachetable [cache_table_name]
+ $ python manage.py createcachetable [cache_table_name]
...where ``[cache_table_name]`` is the name of the database table to create.
(This name can be whatever you want, as long as it's a valid table name that's
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 4ad140c98c..4eb9b4377d 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -255,7 +255,7 @@ If your app already has models and database tables, and doesn't have migrations
yet (for example, you created it against a previous Django version), you'll
need to convert it to use migrations; this is a simple process::
- python manage.py makemigrations yourappname
+ $ python manage.py makemigrations yourappname
This will make a new initial migration for your app. Now, when you run
:djadmin:`migrate`, Django will detect that you have an initial migration