diff --git a/docs/ref/class-based-views/generic-date-based.txt b/docs/ref/class-based-views/generic-date-based.txt index ecaeddfecc..f85160b4cc 100644 --- a/docs/ref/class-based-views/generic-date-based.txt +++ b/docs/ref/class-based-views/generic-date-based.txt @@ -63,7 +63,7 @@ ArchiveIndexView month or day using the attribute ``date_list_period``. This also applies to all subclass views. - **Example myapp/views.py**:: + **Example myapp/urls.py**:: from django.conf.urls import url from django.views.generic.dates import ArchiveIndexView