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
a3bd8672
Kaydet (Commit)
a3bd8672
authored
8 years ago
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #24154 -- Removed deprecated BaseDatabaseOperations.check_aggregate_support().
üst
03087f80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
operations.py
django/db/backends/base/operations.py
+0
-9
2.0.txt
docs/releases/2.0.txt
+3
-0
No files found.
django/db/backends/base/operations.py
Dosyayı görüntüle @
a3bd8672
import
datetime
import
decimal
import
warnings
from
importlib
import
import_module
from
django.conf
import
settings
...
...
@@ -8,7 +7,6 @@ from django.core.exceptions import ImproperlyConfigured
from
django.db.backends
import
utils
from
django.utils
import
six
,
timezone
from
django.utils.dateparse
import
parse_duration
from
django.utils.deprecation
import
RemovedInDjango20Warning
from
django.utils.encoding
import
force_text
...
...
@@ -556,13 +554,6 @@ class BaseDatabaseOperations(object):
value
=
parse_duration
(
value
)
return
value
def
check_aggregate_support
(
self
,
aggregate_func
):
warnings
.
warn
(
"check_aggregate_support has been deprecated. Use "
"check_expression_support instead."
,
RemovedInDjango20Warning
,
stacklevel
=
2
)
return
self
.
check_expression_support
(
aggregate_func
)
def
check_expression_support
(
self
,
expression
):
"""
Check that the backend supports the provided expression.
...
...
This diff is collapsed.
Click to expand it.
docs/releases/2.0.txt
Dosyayı görüntüle @
a3bd8672
...
...
@@ -236,3 +236,6 @@ these features.
* The ``weak`` argument to ``django.dispatch.signals.Signal.disconnect()`` is
removed.
* ``django.db.backends.base.BaseDatabaseOperations.check_aggregate_support()``
is removed.
This diff is collapsed.
Click to expand it.
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