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
f996f736
Kaydet (Commit)
f996f736
authored
Ock 02, 2017
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed obsolete versionadded/changed annotations.
üst
ed4264c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
fields.txt
docs/ref/contrib/postgres/fields.txt
+5
-8
utils.txt
docs/ref/utils.txt
+0
-5
No files found.
docs/ref/contrib/postgres/fields.txt
Dosyayı görüntüle @
f996f736
...
...
@@ -718,14 +718,11 @@ operators ``@>``, ``<@``, and ``&&`` respectively.
>>> Event.objects.filter(ages__contained_by=NumericRange(0, 15))
<QuerySet [<Event: Soft play>]>
.. versionadded 1.9
The `contained_by` lookup is also available on the non-range field types:
:class:`~django.db.models.fields.IntegerField`,
:class:`~django.db.models.fields.BigIntegerField`,
:class:`~django.db.models.fields.FloatField`,
:class:`~django.db.models.fields.DateField`, and
:class:`~django.db.models.fields.DateTimeField`. For example::
The ``contained_by`` lookup is also available on the non-range field types:
:class:`~django.db.models.IntegerField`,
:class:`~django.db.models.BigIntegerField`,
:class:`~django.db.models.FloatField`, :class:`~django.db.models.DateField`,
and :class:`~django.db.models.DateTimeField`. For example::
>>> from psycopg2.extras import DateTimeTZRange
>>> Event.objects.filter(start__contained_by=DateTimeTZRange(
...
...
docs/ref/utils.txt
Dosyayı görüntüle @
f996f736
...
...
@@ -75,11 +75,6 @@ need to distinguish caches by the ``Accept-language`` header.
Adds a ``Cache-Control: max-age=0, no-cache, no-store, must-revalidate``
header to a response to indicate that a page should never be cached.
.. versionchanged:: 1.8.8
In older versions, ``Cache-Control: max-age=0`` was sent. This didn't
reliably prevent caching in all browsers.
.. function:: patch_vary_headers(response, newheaders)
Adds (or updates) the ``Vary`` header in the given ``HttpResponse`` object.
...
...
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