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
b34ff66e
Kaydet (Commit)
b34ff66e
authored
Ock 10, 2016
tarafından
pp
Kaydeden (comit)
Tim Graham
Ock 11, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added missing period to "etc.".
üst
99d2469e
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
17 additions
and
17 deletions
+17
-17
operations.py
django/db/backends/base/operations.py
+1
-1
defaultfilters.py
django/template/defaultfilters.py
+1
-1
smartif.py
django/template/smartif.py
+1
-1
custom-model-fields.txt
docs/howto/custom-model-fields.txt
+1
-1
committing-code.txt
docs/internals/contributing/committing-code.txt
+1
-1
querysets.txt
docs/ref/models/querysets.txt
+2
-2
builtins.txt
docs/ref/templates/builtins.txt
+1
-1
language.txt
docs/ref/templates/language.txt
+1
-1
unicode.txt
docs/ref/unicode.txt
+1
-1
1.0-porting-guide.txt
docs/releases/1.0-porting-guide.txt
+1
-1
1.4.txt
docs/releases/1.4.txt
+1
-1
intro.txt
docs/topics/class-based-views/intro.txt
+1
-1
conditional-view-processing.txt
docs/topics/conditional-view-processing.txt
+1
-1
files.txt
docs/topics/files.txt
+1
-1
tests.py
tests/apps/tests.py
+1
-1
tests.py
tests/i18n/tests.py
+1
-1
No files found.
django/db/backends/base/operations.py
Dosyayı görüntüle @
b34ff66e
...
...
@@ -227,7 +227,7 @@ class BaseDatabaseOperations(object):
def
lookup_cast
(
self
,
lookup_type
,
internal_type
=
None
):
"""
Returns the string to use in a query when performing lookups
("contains", "like", etc). The resulting string should contain a '
%
s'
("contains", "like", etc
.
). The resulting string should contain a '
%
s'
placeholder for the column being searched against.
"""
return
"
%
s"
...
...
django/template/defaultfilters.py
Dosyayı görüntüle @
b34ff66e
...
...
@@ -842,7 +842,7 @@ def yesno(value, arg=None):
def
filesizeformat
(
bytes_
):
"""
Formats the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB,
102 bytes, etc).
102 bytes, etc
.
).
"""
try
:
bytes_
=
float
(
bytes_
)
...
...
django/template/smartif.py
Dosyayı görüntüle @
b34ff66e
...
...
@@ -117,7 +117,7 @@ class Literal(TokenBase):
"""
# IfParser uses Literal in create_var, but TemplateIfParser overrides
# create_var so that a proper implementation that actually resolves
# variables, filters etc is used.
# variables, filters etc
.
is used.
id
=
"literal"
lbp
=
0
...
...
docs/howto/custom-model-fields.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -40,7 +40,7 @@ something like this::
"""A hand of cards (bridge style)"""
def __init__(self, north, east, south, west):
# Input parameters are lists of cards ('Ah', '9s', etc)
# Input parameters are lists of cards ('Ah', '9s', etc
.
)
self.north = north
self.east = east
self.south = south
...
...
docs/internals/contributing/committing-code.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -221,7 +221,7 @@ When a mistaken commit is discovered, please follow these guidelines:
* If the original author can't be reached (within a reasonable amount
of time -- a day or so) and the problem is severe -- crashing bug,
major test failures, etc -- then ask for objections on the
major test failures, etc
.
-- then ask for objections on the
|django-developers| mailing list then revert if there are none.
* If the problem is small (a feature commit after feature freeze,
...
...
docs/ref/models/querysets.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -225,7 +225,7 @@ annotate
Annotates each object in the ``QuerySet`` with the provided list of :doc:`query
expressions </ref/models/expressions>`. An expression may be a simple value, a
reference to a field on the model (or any related models), or an aggregate
expression (averages, sums, etc) that has been computed over the objects that
expression (averages, sums, etc
.
) that has been computed over the objects that
are related to the objects in the ``QuerySet``.
Each argument to ``annotate()`` is an annotation that will be added
...
...
@@ -1954,7 +1954,7 @@ aggregate
.. method:: aggregate(*args, **kwargs)
Returns a dictionary of aggregate values (averages, sums, etc) calculated over
Returns a dictionary of aggregate values (averages, sums, etc
.
) calculated over
the ``QuerySet``. Each argument to ``aggregate()`` specifies a value that will
be included in the dictionary that is returned.
...
...
docs/ref/templates/builtins.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -1505,7 +1505,7 @@ filesizeformat
^^^^^^^^^^^^^^
Formats the value like a 'human-readable' file size (i.e. ``'13 KB'``,
``'4.1 MB'``, ``'102 bytes'``, etc).
``'4.1 MB'``, ``'102 bytes'``, etc
.
).
For example::
...
...
docs/ref/templates/language.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -168,7 +168,7 @@ used template filters:
:tfilter:`filesizeformat`
Formats the value like a "human-readable" file size (i.e. ``'13 KB'``,
``'4.1 MB'``, ``'102 bytes'``, etc). For example::
``'4.1 MB'``, ``'102 bytes'``, etc
.
). For example::
{{ value|filesizeformat }}
...
...
docs/ref/unicode.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -251,7 +251,7 @@ Models
======
Because all strings are returned from the database as Unicode strings, model
fields that are character based (CharField, TextField, URLField, etc) will
fields that are character based (CharField, TextField, URLField, etc
.
) will
contain Unicode values when Django retrieves data from the database. This
is *always* the case, even if the data could fit into an ASCII bytestring.
...
...
docs/releases/1.0-porting-guide.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -302,7 +302,7 @@ Work with file fields using the new API
The internal implementation of :class:`django.db.models.FileField` have changed.
A visible result of this is that the way you access special attributes (URL,
filename, image size, etc) of these model fields has changed. You will need to
filename, image size, etc
.
) of these model fields has changed. You will need to
make the following changes, assuming your model's
:class:`~django.db.models.FileField` is called ``myfile``:
...
...
docs/releases/1.4.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -150,7 +150,7 @@ actual project.
If settings, URLconfs and apps within the project are imported or referenced
using the project name prefix (e.g. ``myproject.settings``, ``ROOT_URLCONF =
"myproject.urls"``, etc), the new ``manage.py`` will need to be moved one
"myproject.urls"``, etc
.
), the new ``manage.py`` will need to be moved one
directory up, so it is outside the project package rather than adjacent to
``settings.py`` and ``urls.py``.
...
...
docs/topics/class-based-views/intro.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -7,7 +7,7 @@ objects instead of functions. They do not replace function-based views, but
have certain differences and advantages when compared to function-based views:
* Organization of code related to specific HTTP methods (``GET``, ``POST``,
etc) can be addressed by separate methods instead of conditional branching.
etc
.
) can be addressed by separate methods instead of conditional branching.
* Object oriented techniques such as mixins (multiple inheritance) can be
used to factor code into reusable components.
...
...
docs/topics/conditional-view-processing.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -6,7 +6,7 @@ HTTP clients can send a number of headers to tell the server about copies of a
resource that they have already seen. This is commonly used when retrieving a
Web page (using an HTTP ``GET`` request) to avoid sending all the data for
something the client has already retrieved. However, the same headers can be
used for all HTTP methods (``POST``, ``PUT``, ``DELETE``, etc).
used for all HTTP methods (``POST``, ``PUT``, ``DELETE``, etc
.
).
For each page (response) that Django sends back from a view, it might provide
two HTTP headers: the ``ETag`` header and the ``Last-Modified`` header. These
...
...
docs/topics/files.txt
Dosyayı görüntüle @
b34ff66e
...
...
@@ -4,7 +4,7 @@ Managing files
This document describes Django's file access APIs for files such as those
uploaded by a user. The lower level APIs are general enough that you could use
them for other purposes. If you want to handle "static files" (JS, CSS, etc),
them for other purposes. If you want to handle "static files" (JS, CSS, etc
.
),
see :doc:`/howto/static-files/index`.
By default, Django stores files locally, using the :setting:`MEDIA_ROOT` and
...
...
tests/apps/tests.py
Dosyayı görüntüle @
b34ff66e
...
...
@@ -397,7 +397,7 @@ class NamespacePackageAppTests(SimpleTestCase):
A Py3.3+ namespace package with multiple locations cannot be an app.
(Because then we wouldn't know where to load its templates, static
assets, etc from.)
assets, etc
.
from.)
"""
# Temporarily add two directories to sys.path that both contain
# components of the "nsapp" package.
...
...
tests/i18n/tests.py
Dosyayı görüntüle @
b34ff66e
...
...
@@ -1384,7 +1384,7 @@ class MiscTests(SimpleTestCase):
)
def
test_support_for_deprecated_chinese_language_codes
(
self
):
"""
Some browsers (Firefox, IE
etc
) use deprecated language codes. As these
Some browsers (Firefox, IE
, etc.
) use deprecated language codes. As these
language codes will be removed in Django 1.9, these will be incorrectly
matched. For example zh-tw (traditional) will be interpreted as zh-hans
(simplified), which is wrong. So we should also accept these deprecated
...
...
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