Fixed #21977 -- Deprecated SimpleTestCase.urls in favour of override_settings

Replaced ``SimpleTestCase.urls`` with ``@override_settings(...)``.
Added warning in the function.
Updated the docs.