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
64982cc2
Kaydet (Commit)
64982cc2
authored
Agu 08, 2015
tarafından
Claude Paroz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated Wikipedia links to use https
üst
18f3d4c1
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
66 additions
and
66 deletions
+66
-66
global_settings.py
django/conf/global_settings.py
+1
-1
clickjacking.py
django/middleware/clickjacking.py
+1
-1
lru_cache.py
django/utils/lru_cache.py
+1
-1
general.txt
docs/faq/general.txt
+1
-1
glossary.txt
docs/glossary.txt
+1
-1
custom-model-fields.txt
docs/howto/custom-model-fields.txt
+1
-1
error-reporting.txt
docs/howto/error-reporting.txt
+2
-2
team.txt
docs/internals/team.txt
+2
-2
contributing.txt
docs/intro/contributing.txt
+1
-1
overview.txt
docs/intro/overview.txt
+1
-1
tutorial01.txt
docs/intro/tutorial01.txt
+1
-1
tutorial05.txt
docs/intro/tutorial05.txt
+2
-2
clickjacking.txt
docs/ref/clickjacking.txt
+2
-2
functions.txt
docs/ref/contrib/gis/functions.txt
+2
-2
geoquerysets.txt
docs/ref/contrib/gis/geoquerysets.txt
+2
-2
model-api.txt
docs/ref/contrib/gis/model-api.txt
+4
-4
tutorial.txt
docs/ref/contrib/gis/tutorial.txt
+2
-2
aggregates.txt
docs/ref/contrib/postgres/aggregates.txt
+1
-1
middleware.txt
docs/ref/middleware.txt
+2
-2
settings.txt
docs/ref/settings.txt
+2
-2
language.txt
docs/ref/templates/language.txt
+1
-1
1.0.txt
docs/releases/1.0.txt
+1
-1
1.3.txt
docs/releases/1.3.txt
+1
-1
1.4.txt
docs/releases/1.4.txt
+4
-4
1.6.txt
docs/releases/1.6.txt
+1
-1
security.txt
docs/releases/security.txt
+1
-1
passwords.txt
docs/topics/auth/passwords.txt
+3
-3
mixins.txt
docs/topics/class-based-views/mixins.txt
+1
-1
optimization.txt
docs/topics/db/optimization.txt
+1
-1
sql.txt
docs/topics/db/sql.txt
+1
-1
tablespaces.txt
docs/topics/db/tablespaces.txt
+1
-1
transactions.txt
docs/topics/db/transactions.txt
+1
-1
sessions.txt
docs/topics/http/sessions.txt
+1
-1
index.txt
docs/topics/i18n/index.txt
+1
-1
timezones.txt
docs/topics/i18n/timezones.txt
+1
-1
security.txt
docs/topics/security.txt
+1
-1
tools.txt
docs/topics/testing/tools.txt
+1
-1
test_urlize.py
tests/template_tests/filter_tests/test_urlize.py
+12
-12
No files found.
django/conf/global_settings.py
Dosyayı görüntüle @
64982cc2
...
@@ -34,7 +34,7 @@ INTERNAL_IPS = []
...
@@ -34,7 +34,7 @@ INTERNAL_IPS = []
ALLOWED_HOSTS
=
[]
ALLOWED_HOSTS
=
[]
# Local time zone for this installation. All choices can be found here:
# Local time zone for this installation. All choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name (although not all
# http
s
://en.wikipedia.org/wiki/List_of_tz_zones_by_name (although not all
# systems may support all possibilities). When USE_TZ is True, this is
# systems may support all possibilities). When USE_TZ is True, this is
# interpreted as the default user time zone.
# interpreted as the default user time zone.
TIME_ZONE
=
'America/Chicago'
TIME_ZONE
=
'America/Chicago'
...
...
django/middleware/clickjacking.py
Dosyayı görüntüle @
64982cc2
...
@@ -24,7 +24,7 @@ class XFrameOptionsMiddleware(object):
...
@@ -24,7 +24,7 @@ class XFrameOptionsMiddleware(object):
clickjacking protection techniques should be used if protection in those
clickjacking protection techniques should be used if protection in those
browsers is required.
browsers is required.
http://en.wikipedia.org/wiki/Clickjacking#Server_and_client
http
s
://en.wikipedia.org/wiki/Clickjacking#Server_and_client
"""
"""
def
process_response
(
self
,
request
,
response
):
def
process_response
(
self
,
request
,
response
):
# Don't set it if it's already in the response
# Don't set it if it's already in the response
...
...
django/utils/lru_cache.py
Dosyayı görüntüle @
64982cc2
...
@@ -58,7 +58,7 @@ except ImportError:
...
@@ -58,7 +58,7 @@ except ImportError:
f.cache_info(). Clear the cache and statistics with f.cache_clear().
f.cache_info(). Clear the cache and statistics with f.cache_clear().
Access the underlying function with f.__wrapped__.
Access the underlying function with f.__wrapped__.
See: http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used
See: http
s
://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used
"""
"""
...
...
docs/faq/general.txt
Dosyayı görüntüle @
64982cc2
...
@@ -40,7 +40,7 @@ Django is pronounced **JANG**-oh. Rhymes with FANG-oh. The "D" is silent.
...
@@ -40,7 +40,7 @@ Django is pronounced **JANG**-oh. Rhymes with FANG-oh. The "D" is silent.
We've also recorded an `audio clip of the pronunciation`_.
We've also recorded an `audio clip of the pronunciation`_.
.. _Django Reinhardt: http://en.wikipedia.org/wiki/Django_Reinhardt
.. _Django Reinhardt: http
s
://en.wikipedia.org/wiki/Django_Reinhardt
.. _audio clip of the pronunciation: http://red-bean.com/~adrian/django_pronunciation.mp3
.. _audio clip of the pronunciation: http://red-bean.com/~adrian/django_pronunciation.mp3
Is Django stable?
Is Django stable?
...
...
docs/glossary.txt
Dosyayı görüntüle @
64982cc2
...
@@ -37,7 +37,7 @@ Glossary
...
@@ -37,7 +37,7 @@ Glossary
`Model-view-controller`__; a software pattern. Django :ref:`follows MVC
`Model-view-controller`__; a software pattern. Django :ref:`follows MVC
to some extent <faq-mtv>`.
to some extent <faq-mtv>`.
__ http://en.wikipedia.org/wiki/Model-view-controller
__ http
s
://en.wikipedia.org/wiki/Model-view-controller
project
project
A Python package -- i.e. a directory of code -- that contains all the
A Python package -- i.e. a directory of code -- that contains all the
...
...
docs/howto/custom-model-fields.txt
Dosyayı görüntüle @
64982cc2
...
@@ -48,7 +48,7 @@ something like this::
...
@@ -48,7 +48,7 @@ something like this::
# ... (other possibly useful methods omitted) ...
# ... (other possibly useful methods omitted) ...
.. _Bridge: http://en.wikipedia.org/wiki/Contract_bridge
.. _Bridge: http
s
://en.wikipedia.org/wiki/Contract_bridge
This is just an ordinary Python class, with nothing Django-specific about it.
This is just an ordinary Python class, with nothing Django-specific about it.
We'd like to be able to do things like this in our models (we assume the
We'd like to be able to do things like this in our models (we assume the
...
...
docs/howto/error-reporting.txt
Dosyayı görüntüle @
64982cc2
...
@@ -140,8 +140,8 @@ control which information should be filtered out of error reports in a
...
@@ -140,8 +140,8 @@ control which information should be filtered out of error reports in a
production environment (that is, where :setting:`DEBUG` is set to ``False``):
production environment (that is, where :setting:`DEBUG` is set to ``False``):
:func:`sensitive_variables` and :func:`sensitive_post_parameters`.
:func:`sensitive_variables` and :func:`sensitive_post_parameters`.
.. _`full traceback`: http://en.wikipedia.org/wiki/Stack_trace
.. _`full traceback`: http
s
://en.wikipedia.org/wiki/Stack_trace
.. _`traceback frame`: http://en.wikipedia.org/wiki/Stack_frame
.. _`traceback frame`: http
s
://en.wikipedia.org/wiki/Stack_frame
.. function:: sensitive_variables(*variables)
.. function:: sensitive_variables(*variables)
...
...
docs/internals/team.txt
Dosyayı görüntüle @
64982cc2
...
@@ -83,7 +83,7 @@ team <core-team>`.
...
@@ -83,7 +83,7 @@ team <core-team>`.
as a freelance developer.
as a freelance developer.
.. _luke plant: http://lukeplant.me.uk/
.. _luke plant: http://lukeplant.me.uk/
.. _michael meeks: http://en.wikipedia.org/wiki/Michael_Meeks_(software)
.. _michael meeks: http
s
://en.wikipedia.org/wiki/Michael_Meeks_(software)
`Russell Keith-Magee`_
`Russell Keith-Magee`_
Russell studied physics as an undergraduate, and studied neural networks for
Russell studied physics as an undergraduate, and studied neural networks for
...
@@ -651,7 +651,7 @@ Joseph Kocherhans
...
@@ -651,7 +651,7 @@ Joseph Kocherhans
Joseph lives in Chicago, USA.
Joseph lives in Chicago, USA.
.. _charango: http://en.wikipedia.org/wiki/Charango
.. _charango: http
s
://en.wikipedia.org/wiki/Charango
`Gary Wilson`_
`Gary Wilson`_
Gary starting contributing patches to Django in 2006 while developing Web
Gary starting contributing patches to Django in 2006 while developing Web
...
...
docs/intro/contributing.txt
Dosyayı görüntüle @
64982cc2
...
@@ -320,7 +320,7 @@ is not very helpful at preventing that bug from reoccurring down the road.
...
@@ -320,7 +320,7 @@ is not very helpful at preventing that bug from reoccurring down the road.
Now for our hands-on example.
Now for our hands-on example.
__ http://en.wikipedia.org/wiki/Test-driven_development
__ http
s
://en.wikipedia.org/wiki/Test-driven_development
Writing some tests for ticket #24788
Writing some tests for ticket #24788
------------------------------------
------------------------------------
...
...
docs/intro/overview.txt
Dosyayı görüntüle @
64982cc2
...
@@ -19,7 +19,7 @@ Although you can use Django without a database, it comes with an
...
@@ -19,7 +19,7 @@ Although you can use Django without a database, it comes with an
`object-relational mapper`_ in which you describe your database layout in Python
`object-relational mapper`_ in which you describe your database layout in Python
code.
code.
.. _object-relational mapper: http://en.wikipedia.org/wiki/Object-relational_mapping
.. _object-relational mapper: http
s
://en.wikipedia.org/wiki/Object-relational_mapping
The :doc:`data-model syntax </topics/db/models>` offers many rich ways of
The :doc:`data-model syntax </topics/db/models>` offers many rich ways of
representing your models -- so far, it's been solving many years' worth of
representing your models -- so far, it's been solving many years' worth of
...
...
docs/intro/tutorial01.txt
Dosyayı görüntüle @
64982cc2
...
@@ -344,7 +344,7 @@ Finally, a performance note: these regular expressions are compiled the first
...
@@ -344,7 +344,7 @@ Finally, a performance note: these regular expressions are compiled the first
time the URLconf module is loaded. They're super fast (as long as the lookups
time the URLconf module is loaded. They're super fast (as long as the lookups
aren't too complex as noted above).
aren't too complex as noted above).
.. _Wikipedia's entry: http://en.wikipedia.org/wiki/Regular_expression
.. _Wikipedia's entry: http
s
://en.wikipedia.org/wiki/Regular_expression
:func:`~django.conf.urls.url` argument: view
:func:`~django.conf.urls.url` argument: view
--------------------------------------------
--------------------------------------------
...
...
docs/intro/tutorial05.txt
Dosyayı görüntüle @
64982cc2
...
@@ -121,7 +121,7 @@ the next time you make a change, either when you add a new feature or fix a bug.
...
@@ -121,7 +121,7 @@ the next time you make a change, either when you add a new feature or fix a bug.
So let's do that right away.
So let's do that right away.
.. _test-driven development: http://en.wikipedia.org/wiki/Test-driven_development
.. _test-driven development: http
s
://en.wikipedia.org/wiki/Test-driven_development
Writing our first test
Writing our first test
======================
======================
...
@@ -679,7 +679,7 @@ Coverage will help to identify dead code. See
...
@@ -679,7 +679,7 @@ Coverage will help to identify dead code. See
information about testing.
information about testing.
.. _Selenium: http://seleniumhq.org/
.. _Selenium: http://seleniumhq.org/
.. _continuous integration: http://en.wikipedia.org/wiki/Continuous_integration
.. _continuous integration: http
s
://en.wikipedia.org/wiki/Continuous_integration
What's next?
What's next?
============
============
...
...
docs/ref/clickjacking.txt
Dosyayı görüntüle @
64982cc2
...
@@ -10,7 +10,7 @@ against `clickjacking`_. This type of attack occurs when a malicious site
...
@@ -10,7 +10,7 @@ against `clickjacking`_. This type of attack occurs when a malicious site
tricks a user into clicking on a concealed element of another site which they
tricks a user into clicking on a concealed element of another site which they
have loaded in a hidden frame or iframe.
have loaded in a hidden frame or iframe.
.. _clickjacking: http://en.wikipedia.org/wiki/Clickjacking
.. _clickjacking: http
s
://en.wikipedia.org/wiki/Clickjacking
An example of clickjacking
An example of clickjacking
==========================
==========================
...
@@ -128,4 +128,4 @@ See also
...
@@ -128,4 +128,4 @@ See also
A `complete list`_ of browsers supporting ``X-Frame-Options``.
A `complete list`_ of browsers supporting ``X-Frame-Options``.
.. _complete list: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header#Browser_compatibility
.. _complete list: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header#Browser_compatibility
.. _other clickjacking prevention techniques: http://en.wikipedia.org/wiki/Clickjacking#Prevention
.. _other clickjacking prevention techniques: http
s
://en.wikipedia.org/wiki/Clickjacking#Prevention
docs/ref/contrib/gis/functions.txt
Dosyayı görüntüle @
64982cc2
...
@@ -106,7 +106,7 @@ Keyword Argument Description
...
@@ -106,7 +106,7 @@ Keyword Argument Description
default value is 2.
default value is 2.
===================== =====================================================
===================== =====================================================
__ http://en.wikipedia.org/wiki/Geography_Markup_Language
__ http
s
://en.wikipedia.org/wiki/Geography_Markup_Language
AsKML
AsKML
-----
-----
...
@@ -264,7 +264,7 @@ GeoHash
...
@@ -264,7 +264,7 @@ GeoHash
Accepts a single geographic field or expression and returns a `GeoHash`__
Accepts a single geographic field or expression and returns a `GeoHash`__
representation of the geometry.
representation of the geometry.
__ http://en.wikipedia.org/wiki/Geohash
__ http
s
://en.wikipedia.org/wiki/Geohash
Intersection
Intersection
------------
------------
...
...
docs/ref/contrib/gis/geoquerysets.txt
Dosyayı görüntüle @
64982cc2
...
@@ -747,7 +747,7 @@ the distance from the `Tasmanian`__ city of Hobart to every other
...
@@ -747,7 +747,7 @@ the distance from the `Tasmanian`__ city of Hobart to every other
:ref:`supported_units`.
:ref:`supported_units`.
__ https://github.com/django/django/blob/master/tests/gis_tests/distapp/models.py
__ https://github.com/django/django/blob/master/tests/gis_tests/distapp/models.py
__ http://en.wikipedia.org/wiki/Tasmania
__ http
s
://en.wikipedia.org/wiki/Tasmania
``length``
``length``
~~~~~~~~~~
~~~~~~~~~~
...
@@ -1100,7 +1100,7 @@ Keyword Argument Description
...
@@ -1100,7 +1100,7 @@ Keyword Argument Description
of 2 or 3. The default value is 2.
of 2 or 3. The default value is 2.
===================== =====================================================
===================== =====================================================
__ http://en.wikipedia.org/wiki/Geography_Markup_Language
__ http
s
://en.wikipedia.org/wiki/Geography_Markup_Language
``kml``
``kml``
~~~~~~~
~~~~~~~
...
...
docs/ref/contrib/gis/model-api.txt
Dosyayı görüntüle @
64982cc2
...
@@ -20,7 +20,7 @@ of a `Digital Elevation Model`__ as our examples::
...
@@ -20,7 +20,7 @@ of a `Digital Elevation Model`__ as our examples::
name = models.CharField(max_length=100)
name = models.CharField(max_length=100)
rast = models.RasterField()
rast = models.RasterField()
__ http://en.wikipedia.org/wiki/ZIP_code
__ http
s
://en.wikipedia.org/wiki/ZIP_code
__ https://en.wikipedia.org/wiki/Digital_elevation_model
__ https://en.wikipedia.org/wiki/Digital_elevation_model
Spatial Field Types
Spatial Field Types
...
@@ -100,7 +100,7 @@ Sets the SRID [#fnogcsrid]_ (Spatial Reference System Identity) of the geometry
...
@@ -100,7 +100,7 @@ Sets the SRID [#fnogcsrid]_ (Spatial Reference System Identity) of the geometry
the given value. Defaults to 4326 (also known as `WGS84`__, units are in degrees
the given value. Defaults to 4326 (also known as `WGS84`__, units are in degrees
of longitude and latitude).
of longitude and latitude).
__ http://en.wikipedia.org/wiki/WGS84
__ http
s
://en.wikipedia.org/wiki/WGS84
.. _selecting-an-srid:
.. _selecting-an-srid:
...
@@ -153,8 +153,8 @@ Additional Resources:
...
@@ -153,8 +153,8 @@ Additional Resources:
data encountered will be in one of these coordinate systems rather than
data encountered will be in one of these coordinate systems rather than
in a geographic coordinate system such as WGS84.
in a geographic coordinate system such as WGS84.
__ http://en.wikipedia.org/wiki/Geodesy
__ http
s
://en.wikipedia.org/wiki/Geodesy
__ http://en.wikipedia.org/wiki/Great_circle
__ http
s
://en.wikipedia.org/wiki/Great_circle
__ http://www.spatialreference.org/ref/epsg/2796/
__ http://www.spatialreference.org/ref/epsg/2796/
__ http://spatialreference.org/
__ http://spatialreference.org/
__ http://web.archive.org/web/20080302095452/http://welcome.warnercnr.colostate.edu/class_info/nr502/lg3/datums_coordinates/spcs.html
__ http://web.archive.org/web/20080302095452/http://welcome.warnercnr.colostate.edu/class_info/nr502/lg3/datums_coordinates/spcs.html
...
...
docs/ref/contrib/gis/tutorial.txt
Dosyayı görüntüle @
64982cc2
...
@@ -158,7 +158,7 @@ extensions:
...
@@ -158,7 +158,7 @@ extensions:
data stored in the shapefile.
data stored in the shapefile.
__ http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
__ http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
__ http://en.wikipedia.org/wiki/Shapefile
__ http
s
://en.wikipedia.org/wiki/Shapefile
Use ``ogrinfo`` to examine spatial data
Use ``ogrinfo`` to examine spatial data
---------------------------------------
---------------------------------------
...
@@ -259,7 +259,7 @@ longitude, latitude pairs in units of degrees. To use a different
...
@@ -259,7 +259,7 @@ longitude, latitude pairs in units of degrees. To use a different
coordinate system, set the SRID of the geometry field with the ``srid``
coordinate system, set the SRID of the geometry field with the ``srid``
argument. Use an integer representing the coordinate system's EPSG code.
argument. Use an integer representing the coordinate system's EPSG code.
__ http://en.wikipedia.org/wiki/SRID
__ http
s
://en.wikipedia.org/wiki/SRID
Run ``migrate``
Run ``migrate``
---------------
---------------
...
...
docs/ref/contrib/postgres/aggregates.txt
Dosyayı görüntüle @
64982cc2
...
@@ -203,7 +203,7 @@ Here's some examples of some of the general-purpose aggregation functions::
...
@@ -203,7 +203,7 @@ Here's some examples of some of the general-purpose aggregation functions::
The next example shows the usage of statistical aggregate functions. The
The next example shows the usage of statistical aggregate functions. The
underlying math will be not described (you can read about this, for example, at
underlying math will be not described (you can read about this, for example, at
`wikipedia <http://en.wikipedia.org/wiki/Regression_analysis>`_)::
`wikipedia <http
s
://en.wikipedia.org/wiki/Regression_analysis>`_)::
>>> TestModel.objects.aggregate(count=RegrCount(y='field3', x='field2'))
>>> TestModel.objects.aggregate(count=RegrCount(y='field3', x='field2'))
{'count': 2}
{'count': 2}
...
...
docs/ref/middleware.txt
Dosyayı görüntüle @
64982cc2
...
@@ -239,7 +239,7 @@ be vulnerable via an insecure connection to a subdomain.
...
@@ -239,7 +239,7 @@ be vulnerable via an insecure connection to a subdomain.
it may be because Django doesn't realize that it's on a secure connection;
it may be because Django doesn't realize that it's on a secure connection;
you may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting.
you may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting.
.. _"Strict-Transport-Security" header: http://en.wikipedia.org/wiki/Strict_Transport_Security
.. _"Strict-Transport-Security" header: http
s
://en.wikipedia.org/wiki/Strict_Transport_Security
.. _x-content-type-options:
.. _x-content-type-options:
...
@@ -298,7 +298,7 @@ header. ``SecurityMiddleware`` will do this for all responses if the
...
@@ -298,7 +298,7 @@ header. ``SecurityMiddleware`` will do this for all responses if the
browsers support the header. Ensure you are still :ref:`validating and
browsers support the header. Ensure you are still :ref:`validating and
sanitizing <cross-site-scripting>` all input to prevent XSS attacks.
sanitizing <cross-site-scripting>` all input to prevent XSS attacks.
.. _XSS attack: http://en.wikipedia.org/wiki/Cross-site_scripting
.. _XSS attack: http
s
://en.wikipedia.org/wiki/Cross-site_scripting
.. _X-XSS-Protection header: http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx
.. _X-XSS-Protection header: http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx
.. _ssl-redirect:
.. _ssl-redirect:
...
...
docs/ref/settings.txt
Dosyayı görüntüle @
64982cc2
...
@@ -84,7 +84,7 @@ Django also allows the `fully qualified domain name (FQDN)`_ of any entries.
...
@@ -84,7 +84,7 @@ Django also allows the `fully qualified domain name (FQDN)`_ of any entries.
Some browsers include a trailing dot in the ``Host`` header which Django
Some browsers include a trailing dot in the ``Host`` header which Django
strips when performing host validation.
strips when performing host validation.
.. _`fully qualified domain name (FQDN)`: http://en.wikipedia.org/wiki/Fully_qualified_domain_name
.. _`fully qualified domain name (FQDN)`: http
s
://en.wikipedia.org/wiki/Fully_qualified_domain_name
If the ``Host`` header (or ``X-Forwarded-Host`` if
If the ``Host`` header (or ``X-Forwarded-Host`` if
:setting:`USE_X_FORWARDED_HOST` is enabled) does not match any value in this
:setting:`USE_X_FORWARDED_HOST` is enabled) does not match any value in this
...
@@ -2529,7 +2529,7 @@ to ensure your processes are running in the correct environment.
...
@@ -2529,7 +2529,7 @@ to ensure your processes are running in the correct environment.
If you're running Django on Windows, :setting:`TIME_ZONE` must be set to
If you're running Django on Windows, :setting:`TIME_ZONE` must be set to
match the system time zone.
match the system time zone.
.. _list of time zones: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
.. _list of time zones: http
s
://en.wikipedia.org/wiki/List_of_tz_database_time_zones
.. setting:: USE_ETAGS
.. setting:: USE_ETAGS
...
...
docs/ref/templates/language.txt
Dosyayı görüntüle @
64982cc2
...
@@ -487,7 +487,7 @@ escaped:
...
@@ -487,7 +487,7 @@ escaped:
Again, we stress that this behavior is on by default. If you're using Django's
Again, we stress that this behavior is on by default. If you're using Django's
template system, you're protected.
template system, you're protected.
.. _Cross Site Scripting: http://en.wikipedia.org/wiki/Cross-site_scripting
.. _Cross Site Scripting: http
s
://en.wikipedia.org/wiki/Cross-site_scripting
How to turn it off
How to turn it off
------------------
------------------
...
...
docs/releases/1.0.txt
Dosyayı görüntüle @
64982cc2
...
@@ -134,7 +134,7 @@ creating and completing this feature.
...
@@ -134,7 +134,7 @@ creating and completing this feature.
See http://geodjango.org/ for details.
See http://geodjango.org/ for details.
.. _Geographic Information Systems: http://en.wikipedia.org/wiki/Geographic_information_system
.. _Geographic Information Systems: http
s
://en.wikipedia.org/wiki/Geographic_information_system
Pluggable file storage
Pluggable file storage
----------------------
----------------------
...
...
docs/releases/1.3.txt
Dosyayı görüntüle @
64982cc2
...
@@ -458,7 +458,7 @@ prohibited). However, if avoiding profanities is important to you, you
...
@@ -458,7 +458,7 @@ prohibited). However, if avoiding profanities is important to you, you
would be well advised to seek out a better, less naive approach to the
would be well advised to seek out a better, less naive approach to the
problem.
problem.
.. _Scunthorpe problem: http://en.wikipedia.org/wiki/Scunthorpe_problem
.. _Scunthorpe problem: http
s
://en.wikipedia.org/wiki/Scunthorpe_problem
.. _commit that implemented this change: https://code.djangoproject.com/changeset/13996
.. _commit that implemented this change: https://code.djangoproject.com/changeset/13996
Localflavor changes
Localflavor changes
...
...
docs/releases/1.4.txt
Dosyayı görüntüle @
64982cc2
...
@@ -273,10 +273,10 @@ uses the PBKDF2_ algorithm (as recommended by NIST_). You can also easily choose
...
@@ -273,10 +273,10 @@ uses the PBKDF2_ algorithm (as recommended by NIST_). You can also easily choose
a different algorithm (including the popular bcrypt_ algorithm). For more
a different algorithm (including the popular bcrypt_ algorithm). For more
details, see :ref:`auth_password_storage`.
details, see :ref:`auth_password_storage`.
.. _sha1: http://en.wikipedia.org/wiki/SHA1
.. _sha1: http
s
://en.wikipedia.org/wiki/SHA1
.. _pbkdf2: http://en.wikipedia.org/wiki/PBKDF2
.. _pbkdf2: http
s
://en.wikipedia.org/wiki/PBKDF2
.. _nist: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf
.. _nist: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf
.. _bcrypt: http://en.wikipedia.org/wiki/Bcrypt
.. _bcrypt: http
s
://en.wikipedia.org/wiki/Bcrypt
HTML5 doctype
HTML5 doctype
~~~~~~~~~~~~~
~~~~~~~~~~~~~
...
@@ -483,7 +483,7 @@ Simple clickjacking protection
...
@@ -483,7 +483,7 @@ Simple clickjacking protection
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We've added a middleware to provide easy protection against `clickjacking
We've added a middleware to provide easy protection against `clickjacking
<http://en.wikipedia.org/wiki/Clickjacking>`_ using the ``X-Frame-Options``
<http
s
://en.wikipedia.org/wiki/Clickjacking>`_ using the ``X-Frame-Options``
header. It's not enabled by default for backwards compatibility reasons, but
header. It's not enabled by default for backwards compatibility reasons, but
you'll almost certainly want to :doc:`enable it </ref/clickjacking/>` to help
you'll almost certainly want to :doc:`enable it </ref/clickjacking/>` to help
plug that security hole for browsers that support the header.
plug that security hole for browsers that support the header.
...
...
docs/releases/1.6.txt
Dosyayı görüntüle @
64982cc2
...
@@ -1167,7 +1167,7 @@ This can lead to security problems where fields are added to the model and,
...
@@ -1167,7 +1167,7 @@ This can lead to security problems where fields are added to the model and,
unintentionally, automatically become editable by end users. In some cases,
unintentionally, automatically become editable by end users. In some cases,
particular with boolean fields, it is possible for this problem to be completely
particular with boolean fields, it is possible for this problem to be completely
invisible. This is a form of `Mass assignment vulnerability
invisible. This is a form of `Mass assignment vulnerability
<http://en.wikipedia.org/wiki/Mass_assignment_vulnerability>`_.
<http
s
://en.wikipedia.org/wiki/Mass_assignment_vulnerability>`_.
For this reason, this behavior is deprecated, and using the ``Meta.exclude``
For this reason, this behavior is deprecated, and using the ``Meta.exclude``
option is strongly discouraged. Instead, all fields that are intended for
option is strongly discouraged. Instead, all fields that are intended for
...
...
docs/releases/security.txt
Dosyayı görüntüle @
64982cc2
...
@@ -11,7 +11,7 @@ reporting and disclosure of security-related issues, as outlined in
...
@@ -11,7 +11,7 @@ reporting and disclosure of security-related issues, as outlined in
As part of that commitment, we maintain the following historical list
As part of that commitment, we maintain the following historical list
of issues which have been fixed and disclosed. For each issue, the
of issues which have been fixed and disclosed. For each issue, the
list below includes the date, a brief description, the `CVE identifier
list below includes the date, a brief description, the `CVE identifier
<http://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures>`_
<http
s
://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures>`_
if applicable, a list of affected versions, a link to the full
if applicable, a list of affected versions, a link to the full
disclosure and links to the appropriate patch(es).
disclosure and links to the appropriate patch(es).
...
...
docs/topics/auth/passwords.txt
Dosyayı görüntüle @
64982cc2
...
@@ -194,10 +194,10 @@ sure never to *remove* entries from this list. If you do, users using
...
@@ -194,10 +194,10 @@ sure never to *remove* entries from this list. If you do, users using
unmentioned algorithms won't be able to upgrade. Passwords will be upgraded
unmentioned algorithms won't be able to upgrade. Passwords will be upgraded
when changing the PBKDF2 iteration count.
when changing the PBKDF2 iteration count.
.. _sha1: http://en.wikipedia.org/wiki/SHA1
.. _sha1: http
s
://en.wikipedia.org/wiki/SHA1
.. _pbkdf2: http://en.wikipedia.org/wiki/PBKDF2
.. _pbkdf2: http
s
://en.wikipedia.org/wiki/PBKDF2
.. _nist: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf
.. _nist: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf
.. _bcrypt: http://en.wikipedia.org/wiki/Bcrypt
.. _bcrypt: http
s
://en.wikipedia.org/wiki/Bcrypt
.. _`bcrypt library`: https://pypi.python.org/pypi/bcrypt/
.. _`bcrypt library`: https://pypi.python.org/pypi/bcrypt/
...
...
docs/topics/class-based-views/mixins.txt
Dosyayı görüntüle @
64982cc2
...
@@ -421,7 +421,7 @@ that we're heavily invested in `REST`_, so we want to use the same URL for
...
@@ -421,7 +421,7 @@ that we're heavily invested in `REST`_, so we want to use the same URL for
displaying the author as for capturing the message from the
displaying the author as for capturing the message from the
user. Let's rewrite our ``AuthorDetailView`` to do that.
user. Let's rewrite our ``AuthorDetailView`` to do that.
.. _REST: http://en.wikipedia.org/wiki/Representational_state_transfer
.. _REST: http
s
://en.wikipedia.org/wiki/Representational_state_transfer
We'll keep the ``GET`` handling from :class:`DetailView`, although
We'll keep the ``GET`` handling from :class:`DetailView`, although
we'll have to add a :class:`~django.forms.Form` into the context data so we can
we'll have to add a :class:`~django.forms.Form` into the context data so we can
...
...
docs/topics/db/optimization.txt
Dosyayı görüntüle @
64982cc2
...
@@ -48,7 +48,7 @@ Use standard DB optimization techniques
...
@@ -48,7 +48,7 @@ Use standard DB optimization techniques
database-dependent topic that will depend on your particular application.
database-dependent topic that will depend on your particular application.
The overhead of maintaining an index may outweigh any gains in query speed.
The overhead of maintaining an index may outweigh any gains in query speed.
.. _Indexes: http://en.wikipedia.org/wiki/Database_index
.. _Indexes: http
s
://en.wikipedia.org/wiki/Database_index
* Appropriate use of field types.
* Appropriate use of field types.
...
...
docs/topics/db/sql.txt
Dosyayı görüntüle @
64982cc2
...
@@ -225,7 +225,7 @@ argument.
...
@@ -225,7 +225,7 @@ argument.
fall victim to SQL injection. As long as you remember to always use the
fall victim to SQL injection. As long as you remember to always use the
``params`` argument you'll be protected.
``params`` argument you'll be protected.
__ http://en.wikipedia.org/wiki/SQL_injection
__ http
s
://en.wikipedia.org/wiki/SQL_injection
.. _executing-custom-sql:
.. _executing-custom-sql:
...
...
docs/topics/db/tablespaces.txt
Dosyayı görüntüle @
64982cc2
...
@@ -5,7 +5,7 @@ Tablespaces
...
@@ -5,7 +5,7 @@ Tablespaces
A common paradigm for optimizing performance in database systems is the use of
A common paradigm for optimizing performance in database systems is the use of
`tablespaces`_ to organize disk layout.
`tablespaces`_ to organize disk layout.
.. _`tablespaces`: http://en.wikipedia.org/wiki/Tablespace
.. _`tablespaces`: http
s
://en.wikipedia.org/wiki/Tablespace
.. warning::
.. warning::
Django does not create the tablespaces for you. Please refer to your
Django does not create the tablespaces for you. Please refer to your
...
...
docs/topics/db/transactions.txt
Dosyayı görüntüle @
64982cc2
...
@@ -366,7 +366,7 @@ and the :func:`atomic` (or :setting:`ATOMIC_REQUESTS
...
@@ -366,7 +366,7 @@ and the :func:`atomic` (or :setting:`ATOMIC_REQUESTS
autocommit is disabled and you are not within an atomic block will result in an
autocommit is disabled and you are not within an atomic block will result in an
error.
error.
.. _two-phase commit: http://en.wikipedia.org/wiki/Two-phase_commit_protocol
.. _two-phase commit: http
s
://en.wikipedia.org/wiki/Two-phase_commit_protocol
.. _psycopg Two-Phase Commit protocol support: http://initd.org/psycopg/docs/usage.html#tpc
.. _psycopg Two-Phase Commit protocol support: http://initd.org/psycopg/docs/usage.html#tpc
.. _optional Two-Phase Commit Extensions in the Python DB-API specification: https://www.python.org/dev/peps/pep-0249/#optional-two-phase-commit-extensions
.. _optional Two-Phase Commit Extensions in the Python DB-API specification: https://www.python.org/dev/peps/pep-0249/#optional-two-phase-commit-extensions
...
...
docs/topics/http/sessions.txt
Dosyayı görüntüle @
64982cc2
...
@@ -166,7 +166,7 @@ and the :setting:`SECRET_KEY` setting.
...
@@ -166,7 +166,7 @@ and the :setting:`SECRET_KEY` setting.
Finally, the size of a cookie can have an impact on the `speed of your site`_.
Finally, the size of a cookie can have an impact on the `speed of your site`_.
.. _`common limit of 4096 bytes`: http://tools.ietf.org/html/rfc2965#section-5.3
.. _`common limit of 4096 bytes`: http://tools.ietf.org/html/rfc2965#section-5.3
.. _`replay attacks`: http://en.wikipedia.org/wiki/Replay_attack
.. _`replay attacks`: http
s
://en.wikipedia.org/wiki/Replay_attack
.. _`speed of your site`: http://yuiblog.com/blog/2007/03/01/performance-research-part-3/
.. _`speed of your site`: http://yuiblog.com/blog/2007/03/01/performance-research-part-3/
Using sessions in views
Using sessions in views
...
...
docs/topics/i18n/index.txt
Dosyayı görüntüle @
64982cc2
...
@@ -50,7 +50,7 @@ More details can be found in the `W3C Web Internationalization FAQ`_, the `Wikip
...
@@ -50,7 +50,7 @@ More details can be found in the `W3C Web Internationalization FAQ`_, the `Wikip
.. _W3C Web Internationalization FAQ: http://www.w3.org/International/questions/qa-i18n
.. _W3C Web Internationalization FAQ: http://www.w3.org/International/questions/qa-i18n
.. _GNU gettext documentation: http://www.gnu.org/software/gettext/manual/gettext.html#Concepts
.. _GNU gettext documentation: http://www.gnu.org/software/gettext/manual/gettext.html#Concepts
.. _Wikipedia article: http://en.wikipedia.org/wiki/Internationalization_and_localization
.. _Wikipedia article: http
s
://en.wikipedia.org/wiki/Internationalization_and_localization
.. warning::
.. warning::
...
...
docs/topics/i18n/timezones.txt
Dosyayı görüntüle @
64982cc2
...
@@ -711,4 +711,4 @@ Usage
...
@@ -711,4 +711,4 @@ Usage
.. _more examples: http://pytz.sourceforge.net/#example-usage
.. _more examples: http://pytz.sourceforge.net/#example-usage
.. _these issues: http://pytz.sourceforge.net/#problems-with-localtime
.. _these issues: http://pytz.sourceforge.net/#problems-with-localtime
.. _helpers: http://pytz.sourceforge.net/#helpers
.. _helpers: http://pytz.sourceforge.net/#helpers
.. _tz database: http://en.wikipedia.org/wiki/Tz_database
.. _tz database: http
s
://en.wikipedia.org/wiki/Tz_database
docs/topics/security.txt
Dosyayı görüntüle @
64982cc2
...
@@ -249,7 +249,7 @@ User-uploaded content
...
@@ -249,7 +249,7 @@ User-uploaded content
file extensions for user uploaded files and configure the web server
file extensions for user uploaded files and configure the web server
to only serve such files.
to only serve such files.
.. _same-origin policy: http://en.wikipedia.org/wiki/Same-origin_policy
.. _same-origin policy: http
s
://en.wikipedia.org/wiki/Same-origin_policy
.. _additional-security-topics:
.. _additional-security-topics:
...
...
docs/topics/testing/tools.txt
Dosyayı görüntüle @
64982cc2
...
@@ -849,7 +849,7 @@ least as many as the number of potential parallel processes). For example:
...
@@ -849,7 +849,7 @@ least as many as the number of potential parallel processes). For example:
Then, during test execution, each new live test server will try every specified
Then, during test execution, each new live test server will try every specified
port until it finds one that is free and takes it.
port until it finds one that is free and takes it.
.. _continuous integration: http://en.wikipedia.org/wiki/Continuous_integration
.. _continuous integration: http
s
://en.wikipedia.org/wiki/Continuous_integration
To demonstrate how to use ``LiveServerTestCase``, let's write a simple Selenium
To demonstrate how to use ``LiveServerTestCase``, let's write a simple Selenium
test. First of all, you need to install the `selenium package`_ into your
test. First of all, you need to install the `selenium package`_ into your
...
...
tests/template_tests/filter_tests/test_urlize.py
Dosyayı görüntüle @
64982cc2
...
@@ -159,16 +159,16 @@ class FunctionTests(SimpleTestCase):
...
@@ -159,16 +159,16 @@ class FunctionTests(SimpleTestCase):
'www.mystore.com/30
%
OffCoupons</a>!'
,
'www.mystore.com/30
%
OffCoupons</a>!'
,
)
)
self
.
assertEqual
(
self
.
assertEqual
(
urlize
(
'http://en.wikipedia.org/wiki/Caf
%
C3
%
A9'
),
urlize
(
'http
s
://en.wikipedia.org/wiki/Caf
%
C3
%
A9'
),
'<a href="http://en.wikipedia.org/wiki/Caf
%
C3
%
A9" rel="nofollow">'
'<a href="http
s
://en.wikipedia.org/wiki/Caf
%
C3
%
A9" rel="nofollow">'
'http://en.wikipedia.org/wiki/Caf
%
C3
%
A9</a>'
,
'http
s
://en.wikipedia.org/wiki/Caf
%
C3
%
A9</a>'
,
)
)
def
test_unicode
(
self
):
def
test_unicode
(
self
):
self
.
assertEqual
(
self
.
assertEqual
(
urlize
(
'http://en.wikipedia.org/wiki/Café'
),
urlize
(
'http
s
://en.wikipedia.org/wiki/Café'
),
'<a href="http://en.wikipedia.org/wiki/Caf
%
C3
%
A9" rel="nofollow">'
'<a href="http
s
://en.wikipedia.org/wiki/Caf
%
C3
%
A9" rel="nofollow">'
'http://en.wikipedia.org/wiki/Café</a>'
,
'http
s
://en.wikipedia.org/wiki/Café</a>'
,
)
)
def
test_parenthesis
(
self
):
def
test_parenthesis
(
self
):
...
@@ -176,14 +176,14 @@ class FunctionTests(SimpleTestCase):
...
@@ -176,14 +176,14 @@ class FunctionTests(SimpleTestCase):
#11911 - Check urlize keeps balanced parentheses
#11911 - Check urlize keeps balanced parentheses
"""
"""
self
.
assertEqual
(
self
.
assertEqual
(
urlize
(
'http://en.wikipedia.org/wiki/Django_(web_framework)'
),
urlize
(
'http
s
://en.wikipedia.org/wiki/Django_(web_framework)'
),
'<a href="http://en.wikipedia.org/wiki/Django_(web_framework)" rel="nofollow">'
'<a href="http
s
://en.wikipedia.org/wiki/Django_(web_framework)" rel="nofollow">'
'http://en.wikipedia.org/wiki/Django_(web_framework)</a>'
,
'http
s
://en.wikipedia.org/wiki/Django_(web_framework)</a>'
,
)
)
self
.
assertEqual
(
self
.
assertEqual
(
urlize
(
'(see http://en.wikipedia.org/wiki/Django_(web_framework))'
),
urlize
(
'(see http
s
://en.wikipedia.org/wiki/Django_(web_framework))'
),
'(see <a href="http://en.wikipedia.org/wiki/Django_(web_framework)" rel="nofollow">'
'(see <a href="http
s
://en.wikipedia.org/wiki/Django_(web_framework)" rel="nofollow">'
'http://en.wikipedia.org/wiki/Django_(web_framework)</a>)'
,
'http
s
://en.wikipedia.org/wiki/Django_(web_framework)</a>)'
,
)
)
def
test_nofollow
(
self
):
def
test_nofollow
(
self
):
...
...
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