diff options
| author | Tianyi Wang <wty52133@gmail.com> | 2014-01-03 16:04:38 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-03 12:01:52 -0500 |
| commit | 7a4d2b8e3d785f518ceec74c7ead862b84715618 (patch) | |
| tree | a53fbd24f8b5a7303eca7a3c4cf23e9c74ab052f | |
| parent | 0a4e36c68f91b99cf9ae8eec8312ef55843916fa (diff) | |
[1.6.x] Fixed #21728 -- Corrected an inadvertent path change in docs/intro/contributing.txt.
Backport of e6800ea136 from master
| -rw-r--r-- | docs/intro/contributing.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt index 3acd567595..cefe2c57e1 100644 --- a/docs/intro/contributing.txt +++ b/docs/intro/contributing.txt @@ -238,7 +238,7 @@ widget. Before we make those changes though, we're going to write a couple tests to verify that our modification functions correctly and continues to function correctly in the future. -Navigate to Django's ``tests/admin_widgets/`` folder and +Navigate to Django's ``tests/regressiontests/admin_widgets/`` folder and open the ``tests.py`` file. Add the following code on line 269 right before the ``AdminFileWidgetTest`` class:: @@ -468,10 +468,11 @@ This patch file contains all your changes and should look this: Relationship fields =================== - diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py + diff --git a/tests/regressiontests/admin_widgets/tests.py b/tests/regressiontests/admin_widgets/tests.py index 4b11543..94acc6d 100644 - --- a/tests/admin_widgets/tests.py - +++ b/tests/admin_widgets/tests.py + --- a/tests/regressiontests/admin_widgets/tests.py + +++ b/tests/regressiontests/admin_widgets/tests.py + @@ -265,6 +265,35 @@ class AdminSplitDateTimeWidgetTest(DjangoTestCase): '<p class="datetime">Datum: <input value="01.12.2007" type="text" class="vDateField" name="test_0" size="10" /><br />Zeit: <input value="09:30:00" type="text" class="vTimeField" name="test_1" size="8" /></p>', ) |
