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
9b538bad
Kaydet (Commit)
9b538bad
authored
Nis 26, 2017
tarafından
Josh Schneier
Kaydeden (comit)
Tim Graham
Nis 26, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #23919 -- Removed File's Python 2 proxied methods.
üst
f3ac398d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
utils.py
django/core/files/utils.py
+0
-2
file.txt
docs/ref/files/file.txt
+3
-3
No files found.
django/core/files/utils.py
Dosyayı görüntüle @
9b538bad
...
...
@@ -18,12 +18,10 @@ class FileProxyMixin:
readline
=
property
(
lambda
self
:
self
.
file
.
readline
)
readlines
=
property
(
lambda
self
:
self
.
file
.
readlines
)
seek
=
property
(
lambda
self
:
self
.
file
.
seek
)
softspace
=
property
(
lambda
self
:
self
.
file
.
softspace
)
tell
=
property
(
lambda
self
:
self
.
file
.
tell
)
truncate
=
property
(
lambda
self
:
self
.
file
.
truncate
)
write
=
property
(
lambda
self
:
self
.
file
.
write
)
writelines
=
property
(
lambda
self
:
self
.
file
.
writelines
)
xreadlines
=
property
(
lambda
self
:
self
.
file
.
xreadlines
)
@property
def
closed
(
self
):
...
...
docs/ref/files/file.txt
Dosyayı görüntüle @
9b538bad
...
...
@@ -83,9 +83,9 @@ The ``File`` class
In addition to the listed methods, :class:`~django.core.files.File` exposes
the following attributes and methods of its ``file`` object:
``encoding``, ``fileno``, ``flush``, ``isatty``, ``newlines``, ``read``,
``readinto``, ``readline``, ``readlines``, ``seek``, ``
softspace
``,
``t
ell``, ``truncate``, ``write``, ``writelines``, ``xreadlines
``,
``readable()``, ``writable()``,
and ``seekable()``.
``readinto``, ``readline``, ``readlines``, ``seek``, ``
tell
``,
``t
runcate``, ``write``, ``writelines``, ``readable()``, ``writable()
``,
and ``seekable()``.
.. versionchanged:: 1.11
...
...
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