Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Advanced deprecations for function-based generic views

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 603884505f84290d2379042169deae837e25b722 1 parent d60ae0b
@freakboy3742 freakboy3742 authored
View
2  django/views/generic/create_update.py
@@ -11,7 +11,7 @@
import warnings
warnings.warn(
'Function-based generic views have been deprecated; use class-based views instead.',
- PendingDeprecationWarning
+ DeprecationWarning
)
View
2  django/views/generic/date_based.py
@@ -10,7 +10,7 @@
import warnings
warnings.warn(
'Function-based generic views have been deprecated; use class-based views instead.',
- PendingDeprecationWarning
+ DeprecationWarning
)
View
2  django/views/generic/list_detail.py
@@ -7,7 +7,7 @@
import warnings
warnings.warn(
'Function-based generic views have been deprecated; use class-based views instead.',
- PendingDeprecationWarning
+ DeprecationWarning
)
View
2  django/views/generic/simple.py
@@ -5,7 +5,7 @@
import warnings
warnings.warn(
'Function-based generic views have been deprecated; use class-based views instead.',
- PendingDeprecationWarning
+ DeprecationWarning
)
logger = getLogger('django.request')
Please sign in to comment.
Something went wrong with that request. Please try again.