mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
[1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
Refs #20739. Thanks Raphaël Hertzog for the report and the initial
patch.
Backport of 3a44e2000 from master.
This commit is contained in:
@@ -152,7 +152,7 @@ file-serving functionality: It doesn't know about the finders feature of the
|
||||
collected under :setting:`STATIC_ROOT`.
|
||||
|
||||
Because of this, ``staticfiles`` ships its own
|
||||
:class:`django.contrib.staticfiles.testing.StaticLiveServerCase`, a subclass
|
||||
:class:`django.contrib.staticfiles.testing.StaticLiveServerTestCase`, a subclass
|
||||
of the built-in one that has the ability to transparently serve all the assets
|
||||
during execution of these tests in a way very similar to what we get at
|
||||
development time with ``DEBUG = True``, i.e. without having to collect them
|
||||
@@ -160,8 +160,8 @@ using :djadmin:`collectstatic` first.
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
:class:`django.contrib.staticfiles.testing.StaticLiveServerCase` is new in
|
||||
Django 1.7. Previously its functionality was provided by
|
||||
:class:`django.contrib.staticfiles.testing.StaticLiveServerTestCase` is new
|
||||
in Django 1.7. Previously its functionality was provided by
|
||||
:class:`django.test.LiveServerTestCase`.
|
||||
|
||||
Deployment
|
||||
|
||||
Reference in New Issue
Block a user