Thank you for developing django. When I install it from source on my Mac,
the line that states something like copying django-admin.py from
build/blahblahblah to /usr/local/bin/ doesn't do this if there is already
a django-admin.py already installed. You might put that in the
documentation if a current version of django is sensed. Thanks,
-Mac
--
Ticket URL: <https://code.djangoproject.com/ticket/21481>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
It's not entirely clear to me what you are requesting. We
[https://docs.djangoproject.com/en/dev/topics/install/#remove-any-old-
versions-of-django recommend uninstalling any old versions of Django]
before installing a new one.
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:1>
Comment (by mdc@…):
Add the link: https://docs.djangoproject.com/en/dev/topics/install
/#remove-any-old-versions-of-django and a message regarding copied files
to local bin or remove this message completely and just leave the link.
As is, the warning is incomplete.
========
WARNING!
========
You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the
%(existing_path)s
directory and re-install Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:2>
Comment (by rjasjukaitis):
How did you installed/upgraded Django?
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:3>
Comment (by mdc@…):
git clone https://github.com/django/django.git
Then sudo python setup.py install
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:4>
* easy: 1 => 0
* stage: Unreviewed => Accepted
Comment:
I'm accepting the ticket with the following scope:
- attempt to detect an existing django-admin.py and add a specific warning
for this case.
- if that isn't doable, extend the warning to mention django-admin.py
which may be installed outside of `%(existing_path)s`.
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:5>
* component: Uncategorized => Packaging
* type: Bug => Cleanup/optimization
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:6>
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:7>
* status: new => closed
* resolution: => wontfix
Comment:
Since virtual environments are recommended and installing Django system-
wide is uncommon, this seems obsolete.
--
Ticket URL: <https://code.djangoproject.com/ticket/21481#comment:8>