Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
f73d04dd
Kaydet (Commit)
f73d04dd
authored
Haz 28, 2013
tarafından
Ramiro Morales
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed 'cleanup' management command as per deprecation TL.
üst
bb33ee5e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
25 deletions
+2
-25
cleanup.py
django/core/management/commands/cleanup.py
+0
-11
django-admin.txt
docs/ref/django-admin.txt
+0
-12
1.5-beta-1.txt
docs/releases/1.5-beta-1.txt
+1
-1
1.5.txt
docs/releases/1.5.txt
+1
-1
No files found.
django/core/management/commands/cleanup.py
deleted
100644 → 0
Dosyayı görüntüle @
bb33ee5e
import
warnings
from
django.contrib.sessions.management.commands
import
clearsessions
class
Command
(
clearsessions
.
Command
):
def
handle_noargs
(
self
,
**
options
):
warnings
.
warn
(
"The `cleanup` command has been deprecated in favor of `clearsessions`."
,
DeprecationWarning
)
super
(
Command
,
self
)
.
handle_noargs
(
**
options
)
docs/ref/django-admin.txt
Dosyayı görüntüle @
f73d04dd
...
@@ -102,18 +102,6 @@ is compatible with the current version of Django.
...
@@ -102,18 +102,6 @@ is compatible with the current version of Django.
Upon finding things that are incompatible or require notifying the user, it
Upon finding things that are incompatible or require notifying the user, it
issues a series of warnings.
issues a series of warnings.
cleanup
-------
.. django-admin:: cleanup
Can be run as a cronjob or directly to clean out old data from the database
(only expired sessions at the moment).
.. versionchanged:: 1.5
:djadmin:`cleanup` is deprecated. Use :djadmin:`clearsessions` instead.
compilemessages
compilemessages
---------------
---------------
...
...
docs/releases/1.5-beta-1.txt
Dosyayı görüntüle @
f73d04dd
...
@@ -689,7 +689,7 @@ framework.
...
@@ -689,7 +689,7 @@ framework.
``cleanup`` management command
``cleanup`` management command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The
:djadmin:`cleanup
` management command has been deprecated and replaced by
The
``cleanup`
` management command has been deprecated and replaced by
:djadmin:`clearsessions`.
:djadmin:`clearsessions`.
``daily_cleanup.py`` script
``daily_cleanup.py`` script
...
...
docs/releases/1.5.txt
Dosyayı görüntüle @
f73d04dd
...
@@ -788,7 +788,7 @@ the built-in :func:`itertools.product` instead.
...
@@ -788,7 +788,7 @@ the built-in :func:`itertools.product` instead.
``cleanup`` management command
``cleanup`` management command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The
:djadmin:`cleanup
` management command has been deprecated and replaced by
The
``cleanup`
` management command has been deprecated and replaced by
:djadmin:`clearsessions`.
:djadmin:`clearsessions`.
``daily_cleanup.py`` script
``daily_cleanup.py`` script
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment