Opened 10 years ago

Closed 2 years ago

#21481 closed Cleanup/optimization (wontfix)

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 (8)

comment:1 by Tim Graham, 10 years ago

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 by mdc@…, 10 years ago

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 by rjasjukaitis, 10 years ago

How did you installed/upgraded Django?

comment:4 by mdc@…, 10 years ago

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

Then sudo python setup.py install

comment:5 by Aymeric Augustin, 10 years ago

Easy pickings: unset
Triage Stage: UnreviewedAccepted

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 by Tim Graham, 10 years ago

Component: UncategorizedPackaging
Type: BugCleanup/optimization

comment:7 by Tim Graham, 9 years ago

Summary: Install 1.6 Django-admin.py bug in Mac OS X 10.9Reinstalling Django warning doesn't mention django-admin

comment:8 by Tim Graham, 2 years ago

Resolution: wontfix
Status: newclosed

Since virtual environments are recommended and installing Django system-wide is uncommon, this seems obsolete.

Note: See TracTickets for help on using tickets.
Back to Top