Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#9452 closed (fixed)

error in the docs: admin formset/form

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

Description

here http://docs.djangoproject.com/en/dev/ref/contrib/admin/#id1 it says that:
"The value for form is inherited from ModelAdmin. This is what is passed through to formset_factory when creating the formset for this inline."

it should say "The value for form is inherited from BaseModelForm. ..."

btw: it´d be nice to explain form & formset for inlines in more detail. there are lots of questions in the user-group and a lot of people obviously don´t get what´s possible here (even more, because these questions in the user-group doesn´t get answered). e.g., why not explain how to do custom form validation for inlines with using "form" (or "formset").

Change History (3)

comment:1 Changed 6 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by jkocherhans

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

(In [10309]) Fixed #9452. InlineModelAdmin docs now mention the right default for 'form'.

comment:3 Changed 6 years ago by jkocherhans

(In [10310]) [1.0.x] Fixed #9452. InlineModelAdmin docs now mention the right default for 'form'. Backport of r10309 from trunk. Forgot to thank patrickk. Sorry about that.

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