summaryrefslogtreecommitdiff
path: root/docs/topics/auth.txt
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-09-10 15:41:00 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-09-10 15:41:00 +0000
commit404a82e156ead0299de1fe9e333f7ef33dcd6954 (patch)
treee3fdadd71f6844e8907ee40a1d3408848361331e /docs/topics/auth.txt
parent976b18a494e4419075d1c18123d4da687c15b1d5 (diff)
Fixed #7376: auth docs don't say they depend on contenttypes.
Thanks arien git-svn-id: http://code.djangoproject.com/svn/django/trunk@11487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/auth.txt')
-rw-r--r--docs/topics/auth.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index 7858e44962..615382bb07 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -29,13 +29,16 @@ Installation
Authentication support is bundled as a Django application in
``django.contrib.auth``. To install it, do the following:
- 1. Put ``'django.contrib.auth'`` in your :setting:`INSTALLED_APPS` setting.
+ 1. Put ``'django.contrib.auth'`` and ``'django.contrib.contenttypes'`` in
+ your :setting:`INSTALLED_APPS` setting.
+ (The :class:`~django.contrib.auth.models.Permisson` model in
+ :mod:`django.contrib.auth` depends on :mod:`django.contrib.contenttypes`.)
2. Run the command ``manage.py syncdb``.
Note that the default :file:`settings.py` file created by
-:djadmin:`django-admin.py startproject` includes ``'django.contrib.auth'`` in
-:setting:`INSTALLED_APPS` for convenience. If your :setting:`INSTALLED_APPS`
-already contains ``'django.contrib.auth'``, feel free to run
+:djadmin:`django-admin.py startproject` includes ``'django.contrib.auth'`` and
+``'django.contrib.contenttypes'`` in :setting:`INSTALLED_APPS` for convenience.
+If your :setting:`INSTALLED_APPS` already contains these apps, feel free to run
:djadmin:`manage.py syncdb` again; you can run that command as many times as
you'd like, and each time it'll only install what's needed.