Opened 8 years ago

Closed 8 years ago

#5397 closed (fixed)

Typo in example for newforms -- overriding the default field types

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


Seems to have a bad example, (missing the model to create the ArticleForm from):

ArticleForm = form_for_model(formfield_callback=my_callback)

Should be more like:

ArticleForm = form_for_model(Article, formfield_callback=my_callback)

Change History (1)

comment:1 Changed 8 years ago by adrian

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

(In [6124]) Fixed #5397 -- Fixed typo in docs/newforms.txt example. Thanks, zhaoz@…

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