Opened 8 years ago

Closed 8 years ago

#14957 closed (wontfix)

doc nit: slug_field not required

Reported by: CarlFK Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


seems "and slug_field" is not required given " By default, slug_field is 'slug'."

Either object_id or (slug and slug_field) is required.

If you provide object_id, it should be the value of the primary-key field for the object being displayed on this page.

Otherwise, slug should be the slug of the given object, and slug_field should be the name of the slug field in the QuerySet's model. By default, slug_field is 'slug'.

Change History (1)

comment:1 Changed 8 years ago by Tim Graham

Resolution: wontfix
Status: newclosed

The current wording makes sense to me -- it shows that slug and slug_field are used together if object_id isn't specified. Thanks for the suggestion though.

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