summaryrefslogtreecommitdiff
path: root/docs/tutorial02.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2006-04-08 08:33:52 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2006-04-08 08:33:52 +0000
commitd1083f15fbdf073d768677f683a1e3b5136e3e41 (patch)
tree1548870a0e8eec085771f81bbbc8964304e0ec5a /docs/tutorial02.txt
parent218035c3e19942209bd535c6f92cd0ef9435b105 (diff)
magic-removal: Fixes #1599, Refs #1464 -- Updated all tutorials for new syntax, changes in manage.py, etc.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial02.txt')
-rw-r--r--docs/tutorial02.txt16
1 files changed, 4 insertions, 12 deletions
diff --git a/docs/tutorial02.txt b/docs/tutorial02.txt
index 2737f0dfbc..3b7060a52c 100644
--- a/docs/tutorial02.txt
+++ b/docs/tutorial02.txt
@@ -31,22 +31,13 @@ The Django admin site is not activated by default -- it's an opt-in thing. To
activate the admin site for your installation, do these three things:
* Add ``"django.contrib.admin"`` to your ``INSTALLED_APPS`` setting.
- * Run the command ``python manage.py install admin``. This will create an
- extra database table that the admin needs.
+ * Run ``python manage.py syncdb``. Since you have added a new application
+ to ``INSTALLED_APPS``, the database tables need to be updated.
* Edit your ``myproject/urls.py`` file and uncomment the line below
"Uncomment this for admin:". This file is a URLconf; we'll dig into
URLconfs in the next tutorial. For now, all you need to know is that it
maps URL roots to applications.
-Create a user account
-=====================
-
-Run the following command to create a superuser account for your admin site::
-
- python manage.py createsuperuser
-
-The script will prompt you for a username, e-mail address and password (twice).
-
Start the development server
============================
@@ -96,7 +87,8 @@ creating an empty class means "give this object an admin interface using
all the default options."
Now reload the Django admin page to see your changes. Note that you don't have
-to restart the development server -- it auto-reloads code.
+to restart the development server -- the server will auto-reloads your project,
+so any modifications code will be seen immediately in your browser.
Explore the free admin functionality
====================================