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
ba27f895
Kaydet (Commit)
ba27f895
authored
Ock 18, 2015
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarified a contrib.sites deprecation and added to 1.7 release notes.
üst
3b89d2d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
deprecation.txt
docs/internals/deprecation.txt
+2
-2
sites.txt
docs/ref/contrib/sites.txt
+5
-3
1.7.txt
docs/releases/1.7.txt
+11
-0
No files found.
docs/internals/deprecation.txt
Dosyayı görüntüle @
ba27f895
...
@@ -206,8 +206,8 @@ details on these changes.
...
@@ -206,8 +206,8 @@ details on these changes.
* ``AppCommand.handle_app()`` will no longer be supported.
* ``AppCommand.handle_app()`` will no longer be supported.
* ``RequestSite``
will be located in ``django.contrib.sites.requests`` and
* ``RequestSite``
and ``get_current_site()`` will no longer be importable from
``
get_current_site`` in ``django.contrib.sites.shortcut
s``.
``
django.contrib.sites.model
s``.
* FastCGI support via the ``runfcgi`` management command will be
* FastCGI support via the ``runfcgi`` management command will be
removed. Please deploy your project using WSGI.
removed. Please deploy your project using WSGI.
...
...
docs/ref/contrib/sites.txt
Dosyayı görüntüle @
ba27f895
...
@@ -472,9 +472,10 @@ a fallback when the database-backed sites framework is not available.
...
@@ -472,9 +472,10 @@ a fallback when the database-backed sites framework is not available.
Sets the ``name`` and ``domain`` attributes to the value of
Sets the ``name`` and ``domain`` attributes to the value of
:meth:`~django.http.HttpRequest.get_host`.
:meth:`~django.http.HttpRequest.get_host`.
..
versionchang
ed:: 1.7
..
deprecat
ed:: 1.7
This class used to be defined in ``django.contrib.sites.models``.
This class used to be defined in ``django.contrib.sites.models``. The
old import location will work until Django 1.9.
A :class:`~django.contrib.sites.requests.RequestSite` object has a similar
A :class:`~django.contrib.sites.requests.RequestSite` object has a similar
interface to a normal :class:`~django.contrib.sites.models.Site` object,
interface to a normal :class:`~django.contrib.sites.models.Site` object,
...
@@ -498,9 +499,10 @@ Finally, to avoid repetitive fallback code, the framework provides a
...
@@ -498,9 +499,10 @@ Finally, to avoid repetitive fallback code, the framework provides a
object or a :class:`~django.contrib.sites.requests.RequestSite` object
object or a :class:`~django.contrib.sites.requests.RequestSite` object
based on the request.
based on the request.
..
versionchang
ed:: 1.7
..
deprecat
ed:: 1.7
This function used to be defined in ``django.contrib.sites.models``.
This function used to be defined in ``django.contrib.sites.models``.
The old import location will work until Django 1.9.
.. versionchanged:: 1.8
.. versionchanged:: 1.8
...
...
docs/releases/1.7.txt
Dosyayı görüntüle @
ba27f895
...
@@ -1757,6 +1757,17 @@ FastCGI support
...
@@ -1757,6 +1757,17 @@ FastCGI support
FastCGI support via the ``runfcgi`` management command will be removed in
FastCGI support via the ``runfcgi`` management command will be removed in
Django 1.9. Please deploy your project using WSGI.
Django 1.9. Please deploy your project using WSGI.
Moved objects in ``contrib.sites``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Following the app-loading refactor, two objects in
``django.contrib.sites.models`` needed to be moved because they must be
available without importing ``django.contrib.sites.models`` when
``django.contrib.sites`` isn't installed. Import ``RequestSite`` from
``django.contrib.sites.requests`` and ``get_current_site()`` from
``django.contrib.sites.shortcuts``. The old import locations will work until
Django 1.9.
.. removed-features-1.7:
.. removed-features-1.7:
Features removed in 1.7
Features removed in 1.7
...
...
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