Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 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.

Attachments (0)

Change History (8)

comment:1 Changed 6 years ago by julian24

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

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 6 years ago by mtredinnick

  • Version changed from 1.0-alpha to 1.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 6 years ago by mtredinnick

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:4 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from reopened to closed

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

comment:5 follow-up: Changed 6 years ago by tubaman

  • Resolution fixed deleted
  • Status changed from closed to reopened

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 6 years ago by tubaman

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 6 years ago by brosner

  • Resolution set to fixed
  • Status changed from reopened to closed

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 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.