Django

Code

Ticket #7802 (closed: wontfix)

Opened 5 months ago

Last modified 5 months ago

Installation script for 0.96.2 does not copy all admin files

Reported by: Telman Yusupov Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: 0.96 Keywords: admin interface, installation
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

When installing official 0.96.2 release through "python setup.py install" mechanism, "admin" and "templates" directories are not copied to "django/contrib/admin" directory even though they are present in the downloaded package.

This causes admin module to be unaccessible. See multiple comments to the DjangoBook? chapter 6 (http://www.djangobook.com/en/1.0/chapter06/)

Please update the "official release" to copy these directories during the installation whenever you have a chance.

Attachments

Change History

07/17/08 19:10:52 changed by mtredinnick

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to wontfix.
  • needs_tests changed.
  • needs_docs changed.

This will be fixed in the 1.0 release (it's been fixed in trunk for quite a while). 0.96.2 is 0.96 + security fixes only, so it won't be updated in this way. Sorry for the inconvenience, but we've got a new release coming out soon.

07/17/08 19:34:59 changed by Karen Tracey <kmtracey@gmail.com>

Actually, according to my notes, if you use "python setup.py install" things work properly. It's when you drop the "python" from the front that things go awry. Hmm, that's assuming you're running Windows here (where we identified this problem), but you don't specify what OS you are on. If you're installing on OS X you might be hitting #7414, which is a different problem and still open.

At any rate if you are on Windows, there is an easy workaround, if you must use 0.96.2 rather than an SVN checkout. If you are on OS X you could provide feedback on the current patch for #7414 and confirm whether it fixes the issue for your case (the only file involved is setup.py, so you can just replace that one file to test out the patch).

07/19/08 09:48:09 changed by Telman Yusupov

Actually, I'm using OS X (10.5.4). It does look like to be the same as issue #7414. Thank you for the prompt action!


Add/Change #7802 (Installation script for 0.96.2 does not copy all admin files)




Change Properties
Action