Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1107 closed enhancement (invalid)

The documentation doesn't explain the context for the object_detail view.

Reported by: brantley (deadwisdom@… Owned by: Adrian Holovaty
Component: Documentation Version:
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

So I was trying to make a generic view last night, in the docs, it's not explained what template context keys are given by the object_detail view.

Change History (1)

comment:1 by anonymous, 18 years ago

Component: Admin interfaceDocumentation
priority: normallow
Resolution: invalid
Severity: normalminor
Status: newclosed
Type: defectenhancement

from generic views documentation:

object_detail
Object detail page. This works like and takes the same arguments as the date-based object_detail above, except this one, obviously, does not take the year/month/day arguments.

so that leaves the object you wanted to show as the only var in your context (as object).

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