From 32b67b3fd1d252566f60cf38fe1459bb83de2ce2 Mon Sep 17 00:00:00 2001
From: Tim Graham <timograham@gmail.com>
Date: Tue, 17 Feb 2015 13:53:20 -0500
Subject: [PATCH] Added an import to docs/topics/testing/advanced.txt example.

---
 docs/topics/testing/advanced.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index 3ca8ed88cf..93583893a9 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -40,6 +40,8 @@ The following is a simple unit test using the request factory::
     from django.contrib.auth.models import AnonymousUser, User
     from django.test import TestCase, RequestFactory
 
+    from .views import my_view
+
     class SimpleTest(TestCase):
         def setUp(self):
             # Every test needs access to the request factory.