Opened 20 months ago

Last modified 6 months ago

#21481 new Cleanup/optimization

Reinstalling Django warning doesn't mention django-admin

Reported by: mdc@… Owned by: nobody
Component: Packaging Version: 1.6
Severity: Normal Keywords: install
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

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

Change History (7)

comment:1 Changed 20 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

It's not entirely clear to me what you are requesting. We recommend uninstalling any old versions of Django before installing a new one.

comment:2 Changed 20 months ago 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.

comment:3 Changed 20 months ago by rjasjukaitis

How did you installed/upgraded Django?

comment:4 Changed 20 months ago by mdc@…

git clone https://github.com/django/django.git

Then sudo python setup.py install

comment:5 Changed 19 months ago by aaugustin

  • Easy pickings unset
  • Triage Stage changed from Unreviewed to Accepted

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.

comment:6 Changed 15 months ago by timo

  • Component changed from Uncategorized to Packaging
  • Type changed from Bug to Cleanup/optimization

comment:7 Changed 6 months ago by timgraham

  • Summary changed from Install 1.6 Django-admin.py bug in Mac OS X 10.9 to Reinstalling Django warning doesn't mention django-admin
Note: See TracTickets for help on using tickets.
Back to Top