#16669 closed Cleanup/optimization (fixed)
tutorial01: inconsistent formatting for django-admin.py interactions
| Reported by: | Danny Lawrence | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | tutorial01, formatting |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The tutorial01 contains the syntax to start a new project - django-admin.py startproject mysite
However its not the same formatting that the start application follows
As a new user it was immediately obvious that it is an important step or that it was syntax that need to be entered.
Page: https://docs.djangoproject.com/en/dev/intro/tutorial01/
Index: docs/intro/tutorial01.txt
===================================================================
--- docs/intro/tutorial01.txt (revision 16642)
+++ docs/intro/tutorial01.txt (working copy)
@@ -36,9 +36,14 @@
application-specific settings.
From the command line, ``cd`` into a directory where you'd like to store your
-code, then run the command ``django-admin.py startproject mysite``. This will
-create a ``mysite`` directory in your current directory.
+code, then run the following command:
+.. code-block:: bash
+
+ django-admin.py startproject mysite
+
+This will create a ``mysite`` directory in your current directory.
+
.. admonition:: Script name may differ in distribution packages
If you installed Django using a Linux distribution's package manager
Attachments (2)
Change History (5)
by , 14 years ago
| Attachment: | start-project-formatting.diff added |
|---|
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
Patch should be relative to the "trunk" directory. I'm uploading a correct version. Besides this it's perfect.
by , 14 years ago
| Attachment: | start-project-formatting.2.diff added |
|---|
Note:
See TracTickets
for help on using tickets.
patch to inline the start-project command with startapp