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
c4fa0143
Kaydet (Commit)
c4fa0143
authored
Şub 26, 2018
tarafından
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
Kaydeden (comit)
Tim Graham
Şub 26, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed "Remove any old versions of Django" install instructions.
They are obsolete given the prevalence of pip.
üst
61596f40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
37 deletions
+1
-37
upgrade-version.txt
docs/howto/upgrade-version.txt
+1
-8
install.txt
docs/intro/install.txt
+0
-7
install.txt
docs/topics/install.txt
+0
-22
No files found.
docs/howto/upgrade-version.txt
Dosyayı görüntüle @
c4fa0143
...
...
@@ -89,19 +89,12 @@ Once you're ready, it is time to :doc:`install the new Django version
</topics/install>`. If you are using virtualenv_ and it is a major upgrade, you
might want to set up a new environment with all the dependencies first.
Exactly which steps you will need to take depends on your installation process.
The most convenient way is to use pip_ with the ``--upgrade`` or ``-U`` flag:
If you installed Django with pip_, you can use the ``--upgrade`` or ``-U`` flag:
.. console::
$ pip install -U Django
pip_ also automatically uninstalls the previous version of Django.
If you use some other installation process, you might have to manually
:ref:`uninstall the old Django version <removing-old-versions-of-django>` and
should look at the complete installation instructions.
.. _pip: https://pip.pypa.io/
.. _virtualenv: https://virtualenv.pypa.io/
...
...
docs/intro/install.txt
Dosyayı görüntüle @
c4fa0143
...
...
@@ -34,13 +34,6 @@ This step is only necessary if you'd like to work with a "large" database engine
like PostgreSQL, MySQL, or Oracle. To install such a database, consult the
:ref:`database installation information <database-installation>`.
Remove any old versions of Django
=================================
If you are upgrading your installation of Django from a previous version, you
will need to :ref:`uninstall the old Django version before installing the new
version <removing-old-versions-of-django>`.
Install Django
==============
...
...
docs/topics/install.txt
Dosyayı görüntüle @
c4fa0143
...
...
@@ -122,28 +122,6 @@ database queries, Django will need permission to create a test database.
.. _cx_Oracle: https://oracle.github.io/python-cx_Oracle/
.. _Oracle: https://www.oracle.com/
.. _removing-old-versions-of-django:
Remove any old versions of Django
=================================
If you are upgrading your installation of Django from a previous version,
you will need to uninstall the old Django version before installing the
new version.
If you installed Django using pip_ or ``easy_install`` previously, installing
with pip_ or ``easy_install`` again will automatically take care of the old
version, so you don't need to do it yourself.
If you previously installed Django using ``python setup.py install``,
uninstalling is as simple as deleting the ``django`` directory from your Python
``site-packages``. To find the directory you need to remove, you can run the
following at your shell prompt (not the interactive Python prompt):
.. console::
$ python -c "import django; print(django.__path__)"
.. _install-django-code:
Install the Django code
...
...
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