Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8374 closed (fixed)

TemplateDoesNotExist at /admin/doc/

Reported by: tubaman@… Owned by: nobody
Component: contrib.admin Version: 1.0-beta
Severity: Keywords: admin doc template
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The Django-1.0-beta_1/django/contrib/admin/templates/admin_doc directory is empty in the beta_1 tarball. This causes the admin docs to not work. This ticket should be version 1.0-beta_1 but alpha is the only option right now.

Change History (8)

comment:1 Changed 8 years ago by julian24

Resolution: worksforme
Status: newclosed

In [8264] admindocs templates were moved into django/contrib/admindocs/templates. So you'll need to add 'django.contrib.admindocs' to INSTALLED_APPS`.

comment:2 Changed 8 years ago by Malcolm Tredinnick

Version: 1.0-alpha1.0-beta-1

Triagers: Please be careful to read the ticket carefully before closing as "worksforme" (which should be a last resort). This ticket was reporting missing files in the tarball (which was true), not something about installation.

comment:3 Changed 8 years ago by Malcolm Tredinnick

Resolution: worksforme
Status: closedreopened

comment:4 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: reopenedclosed

(In [8423]) Fixed #8374 -- Add the admindocs/templates/ directory to the source tarball
that is built.

comment:5 Changed 8 years ago by Ryan Nowakowski

Resolution: fixed
Status: closedreopened

If the templates have been moved then there are a couple of issues that need to be addressed:

  1. The documentation at http://www.djangoproject.com/documentation/ needs to be updated to reflect the fact that you have to add 'django.contrib.admindocs' to INSTALLED_APPS`.
  2. If the user doesn't add 'dj

comment:6 in reply to:  5 Changed 8 years ago by Ryan Nowakowski

Replying to tubaman:

If the templates have been moved then there are a couple of issues that need to be addressed:

  1. The documentation at http://www.djangoproject.com/documentation/ needs to be updated to reflect the fact that you have to add 'django.contrib.admindocs' to INSTALLED_APPS`.
  2. If the user doesn't add 'dj

to finish point #2 If the user doesn't add 'django.contrib.admindocs' to INSTALLED_APPS`, then the documentation link at the top of the admin app should not appear.

comment:7 Changed 8 years ago by Brian Rosner

Resolution: fixed
Status: reopenedclosed

Please do not reopen this ticket unless there was a problem with the fix. In this case there wasn't. It is much easier for us to keep track of these issues in new tickets. Thanks.

comment:8 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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