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
6a7b27c7
Kaydet (Commit)
6a7b27c7
authored
May 08, 2015
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[1.8.x] Fixed #24758 -- Corrected Options.get_fields() docstring.
Backport of
b99114f6
from master
üst
51ebc880
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
options.py
django/db/models/options.py
+3
-3
No files found.
django/db/models/options.py
Dosyayı görüntüle @
6a7b27c7
...
@@ -727,9 +727,9 @@ class Options(object):
...
@@ -727,9 +727,9 @@ class Options(object):
def
get_fields
(
self
,
include_parents
=
True
,
include_hidden
=
False
):
def
get_fields
(
self
,
include_parents
=
True
,
include_hidden
=
False
):
"""
"""
Returns a list of fields associated to the model. By default
will only
Returns a list of fields associated to the model. By default
, includes
return forward fields. This can be changed by enabling or disabling
forward and reverse fields, fields derived from inheritance, but not
field types
using the parameters:
hidden fields. The returned fields can be changed
using the parameters:
- include_parents: include fields derived from inheritance
- include_parents: include fields derived from inheritance
- include_hidden: include fields that have a related_name that
- include_hidden: include fields that have a related_name that
...
...
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