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
98839e90
Kaydet (Commit)
98839e90
authored
Ara 31, 2015
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed British/Austrialian word: whilist.
üst
16411b84
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
base.py
django/contrib/sessions/backends/base.py
+1
-1
http.py
django/views/decorators/http.py
+1
-1
conditional-view-processing.txt
docs/topics/conditional-view-processing.txt
+1
-1
models.txt
docs/topics/db/models.txt
+2
-2
transactions.txt
docs/topics/db/transactions.txt
+1
-1
tests.py
tests/unmanaged_models/tests.py
+1
-1
No files found.
django/contrib/sessions/backends/base.py
Dosyayı görüntüle @
98839e90
...
@@ -295,7 +295,7 @@ class SessionBase(object):
...
@@ -295,7 +295,7 @@ class SessionBase(object):
def
cycle_key
(
self
):
def
cycle_key
(
self
):
"""
"""
Creates a new session key, whil
st
retaining the current session data.
Creates a new session key, whil
e
retaining the current session data.
"""
"""
data
=
self
.
_session_cache
data
=
self
.
_session_cache
key
=
self
.
session_key
key
=
self
.
session_key
...
...
django/views/decorators/http.py
Dosyayı görüntüle @
98839e90
...
@@ -61,7 +61,7 @@ def condition(etag_func=None, last_modified_func=None):
...
@@ -61,7 +61,7 @@ def condition(etag_func=None, last_modified_func=None):
The parameters are callables to compute the ETag and last modified time for
The parameters are callables to compute the ETag and last modified time for
the requested resource, respectively. The callables are passed the same
the requested resource, respectively. The callables are passed the same
parameters as the view itself. The Etag function should return a string (or
parameters as the view itself. The Etag function should return a string (or
None if the resource doesn't exist), whil
st
the last_modified function
None if the resource doesn't exist), whil
e
the last_modified function
should return a datetime object (or None if the resource doesn't exist).
should return a datetime object (or None if the resource doesn't exist).
If both parameters are provided, all the preconditions must be met before
If both parameters are provided, all the preconditions must be met before
...
...
docs/topics/conditional-view-processing.txt
Dosyayı görüntüle @
98839e90
...
@@ -184,7 +184,7 @@ Comparison with middleware conditional processing
...
@@ -184,7 +184,7 @@ Comparison with middleware conditional processing
You may notice that Django already provides simple and straightforward
You may notice that Django already provides simple and straightforward
conditional ``GET`` handling via the
conditional ``GET`` handling via the
:class:`django.middleware.http.ConditionalGetMiddleware` and
:class:`django.middleware.http.ConditionalGetMiddleware` and
:class:`~django.middleware.common.CommonMiddleware`. Whil
st
certainly being
:class:`~django.middleware.common.CommonMiddleware`. Whil
e
certainly being
easy to use and suitable for many situations, those pieces of middleware
easy to use and suitable for many situations, those pieces of middleware
functionality have limitations for advanced usage:
functionality have limitations for advanced usage:
...
...
docs/topics/db/models.txt
Dosyayı görüntüle @
98839e90
...
@@ -928,7 +928,7 @@ model, since it is an abstract base class. It does not generate a database
...
@@ -928,7 +928,7 @@ model, since it is an abstract base class. It does not generate a database
table or have a manager, and cannot be instantiated or saved directly.
table or have a manager, and cannot be instantiated or saved directly.
For many uses, this type of model inheritance will be exactly what you want.
For many uses, this type of model inheritance will be exactly what you want.
It provides a way to factor out common information at the Python level, whil
st
It provides a way to factor out common information at the Python level, whil
e
still only creating one database table per child model at the database level.
still only creating one database table per child model at the database level.
``Meta`` inheritance
``Meta`` inheritance
...
@@ -1011,7 +1011,7 @@ Along with another app ``rare/models.py``::
...
@@ -1011,7 +1011,7 @@ Along with another app ``rare/models.py``::
pass
pass
The reverse name of the ``common.ChildA.m2m`` field will be
The reverse name of the ``common.ChildA.m2m`` field will be
``common_childa_related``, whil
st
the reverse name of the
``common_childa_related``, whil
e
the reverse name of the
``common.ChildB.m2m`` field will be ``common_childb_related``, and finally the
``common.ChildB.m2m`` field will be ``common_childb_related``, and finally the
reverse name of the ``rare.ChildB.m2m`` field will be ``rare_childb_related``.
reverse name of the ``rare.ChildB.m2m`` field will be ``rare_childb_related``.
It is up to you how you use the ``'%(class)s'`` and ``'%(app_label)s`` portion
It is up to you how you use the ``'%(class)s'`` and ``'%(app_label)s`` portion
...
...
docs/topics/db/transactions.txt
Dosyayı görüntüle @
98839e90
...
@@ -601,7 +601,7 @@ Handling exceptions within PostgreSQL transactions
...
@@ -601,7 +601,7 @@ Handling exceptions within PostgreSQL transactions
Inside a transaction, when a call to a PostgreSQL cursor raises an exception
Inside a transaction, when a call to a PostgreSQL cursor raises an exception
(typically ``IntegrityError``), all subsequent SQL in the same transaction
(typically ``IntegrityError``), all subsequent SQL in the same transaction
will fail with the error "current transaction is aborted, queries ignored
will fail with the error "current transaction is aborted, queries ignored
until end of transaction block". Whil
st
simple use of ``save()`` is unlikely
until end of transaction block". Whil
e
simple use of ``save()`` is unlikely
to raise an exception in PostgreSQL, there are more advanced usage patterns
to raise an exception in PostgreSQL, there are more advanced usage patterns
which might, such as saving objects with unique fields, saving using the
which might, such as saving objects with unique fields, saving using the
force_insert/force_update flag, or invoking custom SQL.
force_insert/force_update flag, or invoking custom SQL.
...
...
tests/unmanaged_models/tests.py
Dosyayı görüntüle @
98839e90
...
@@ -12,7 +12,7 @@ class SimpleTests(TestCase):
...
@@ -12,7 +12,7 @@ class SimpleTests(TestCase):
"""
"""
The main test here is that the all the models can be created without
The main test here is that the all the models can be created without
any database errors. We can also do some more simple insertion and
any database errors. We can also do some more simple insertion and
lookup tests whil
st
we're here to show that the second of models do
lookup tests whil
e
we're here to show that the second of models do
refer to the tables from the first set.
refer to the tables from the first set.
"""
"""
# Insert some data into one set of models.
# Insert some data into one set of models.
...
...
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