Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #7376: auth docs don't say they depend on contenttypes.

Thanks arien

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 404a82e156ead0299de1fe9e333f7ef33dcd6954 1 parent 976b18a
@spookylukey spookylukey authored
Showing with 7 additions and 4 deletions.
  1. +7 −4 docs/topics/auth.txt
11 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 `` syncdb``.
Note that the default :file:`` file created by
-:djadmin:` 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:` 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:` syncdb` again; you can run that command as many times as
you'd like, and each time it'll only install what's needed.
Please sign in to comment.
Something went wrong with that request. Please try again.