Permalink
Browse files

Merge pull request #901 from giamfreeg/master

Fixed an erroneous import in example code of docs (class-based-views/intro).
  • Loading branch information...
2 parents 7db4c81 + bd68f70 commit f8c7c8f27b061b65d2dec98510bb9e76e1547791 @aaugustin aaugustin committed Mar 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/class-based-views/intro.txt
@@ -71,7 +71,7 @@ something like::
In a class-based view, this would become::
from django.http import HttpResponse
- from django.views.base import View
+ from django.views.generic.base import View
class MyView(View):
def get(self, request):
@@ -113,7 +113,7 @@ and methods in the subclass. So that if your parent class had an attribute
``greeting`` like this::
from django.http import HttpResponse
- from django.views.base import View
+ from django.views.generic.base import View
class GreetingView(View):
greeting = "Good Day"

0 comments on commit f8c7c8f

Please sign in to comment.