mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #21674 -- Deprecated the import_by_path() function in favor of import_string().
Thanks Aymeric Augustin for the suggestion and review.
This commit is contained in:
parent
fcc21837dc
commit
5d263dee30
31 changed files with 155 additions and 95 deletions
|
@ -101,6 +101,6 @@ class GetInternalWSGIApplicationTest(unittest.TestCase):
|
|||
def test_bad_name(self):
|
||||
with six.assertRaisesRegex(self,
|
||||
ImproperlyConfigured,
|
||||
r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Module.*"):
|
||||
r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Error importing.*"):
|
||||
|
||||
get_internal_wsgi_application()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue