mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #21977 -- Deprecated SimpleTestCase.urls
This commit is contained in:
parent
d2f4553d70
commit
cd914e31c9
73 changed files with 337 additions and 295 deletions
|
@ -961,6 +961,11 @@ URLconf configuration
|
|||
|
||||
.. attribute:: SimpleTestCase.urls
|
||||
|
||||
.. deprecated:: 1.8
|
||||
|
||||
Use ``@override_settings(ROOT_URLCONF=...)`` instead for URLconf
|
||||
configuration.
|
||||
|
||||
If your application provides views, you may want to include tests that use the
|
||||
test client to exercise those views. However, an end user is free to deploy the
|
||||
views in your application at any URL of their choosing. This means that your
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue