summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorChristopher Luc <chris.luc93@gmail.com>2015-04-06 12:02:34 -0700
committerTim Graham <timograham@gmail.com>2015-04-07 09:45:32 -0400
commite37d52bd5eb98e6ddf61b766720583481d18bc2b (patch)
tree9335d4ee56bcb827bc526fdd8052e0b71ce3d90f /docs/topics
parentf9c212d09ad59cd5b5d9be06e92be87d44c75d95 (diff)
Fixed #22993 -- Deprecated skipIfCustomUser decorator
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/auth/customizing.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index e99443ff90..a3577ffb10 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -912,6 +912,13 @@ This decorator will cause a test case to be skipped if any User model other
than the default Django user is in use. This decorator can be applied to a
single test, or to an entire test class.
+.. deprecated:: 1.9
+
+ With the test discovery changes in Django 1.6, the tests for
+ ``django.contrib`` apps are no longer run as part of the user's project.
+ Therefore, the ``@skipIfCustomUser`` decorator is no longer needed to
+ decorate tests in ``django.contrib.auth``.
+
Depending on your application, tests may also be needed to be added to ensure
that the application works with *any* user model, not just the default User
model. To assist with this, Django provides two substitute user models that