Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed an erroneous import in example code.

  • Loading branch information...
commit bd68f701b1867e0a9cf17d7f0948ba493d11b7e5 1 parent 5d8342f
Pablo Sanfilippo authored March 13, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/class-based-views/intro.txt
4  docs/topics/class-based-views/intro.txt
@@ -71,7 +71,7 @@ something like::
71 71
 In a class-based view, this would become::
72 72
 
73 73
     from django.http import HttpResponse
74  
-    from django.views.base import View
  74
+    from django.views.generic.base import View
75 75
 
76 76
     class MyView(View):
77 77
         def get(self, request):
@@ -113,7 +113,7 @@ and methods in the subclass. So that if your parent class had an attribute
113 113
 ``greeting`` like this::
114 114
 
115 115
     from django.http import HttpResponse
116  
-    from django.views.base import View
  116
+    from django.views.generic.base import View
117 117
 
118 118
     class GreetingView(View):
119 119
         greeting = "Good Day"

0 notes on commit bd68f70

Please sign in to comment.
Something went wrong with that request. Please try again.