summaryrefslogtreecommitdiff
path: root/django/bin
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-12-25 21:07:27 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-12-29 21:59:07 +0100
commitef017a5f00d9e84059e00e8fea123be51b293f75 (patch)
treeff0bf6ebfb015465e1ceee3d2551f1c7a200d07f /django/bin
parent130829334c32f48b9ba6e6251d0e780c0d99cd4d (diff)
Advanced pending deprecation warnings.
Also added stacklevel argument, fixed #18127.
Diffstat (limited to 'django/bin')
-rwxr-xr-xdjango/bin/daily_cleanup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/bin/daily_cleanup.py b/django/bin/daily_cleanup.py
index ac3de00f2c..5a2ce210f4 100755
--- a/django/bin/daily_cleanup.py
+++ b/django/bin/daily_cleanup.py
@@ -15,5 +15,5 @@ if __name__ == "__main__":
warnings.warn(
"The `daily_cleanup` script has been deprecated "
"in favor of `django-admin.py clearsessions`.",
- PendingDeprecationWarning)
+ DeprecationWarning)
management.call_command('clearsessions')