Opened 10 years ago

Closed 9 years ago

Last modified 9 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
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: UI/UX:

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 Changed 9 years ago by anonymous

  • Component changed from Admin interface to Documentation
  • priority changed from normal to low
  • Resolution set to invalid
  • Severity changed from normal to minor
  • Status changed from new to closed
  • Type changed from defect to enhancement

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