From e6800ea136aaa882682dbb7dc54423c5f002b551 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Fri, 3 Jan 2014 16:04:38 +0000 Subject: [PATCH] Fixed #21728 -- Corrected an inadvertent path change in docs/intro/contributing.txt. --- docs/intro/contributing.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt index 7250f9e676..9c9482d20a 100644 --- a/docs/intro/contributing.txt +++ b/docs/intro/contributing.txt @@ -237,7 +237,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:: @@ -467,10 +467,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): '

Datum:
Zeit:

', )