Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#12601 closed (fixed)

ModelForm documentation refers to a forms field SlugField which is not documented

Reported by: gvangool Owned by: gabrielhurley
Component: Documentation Version: master
Severity: Keywords:
Cc: gabrielhurley Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the documentation of ModelForm's which talks about which Model field is represented by a which Form field, it refers to a SlugField ( django.forms.fields.SlugField )

The django.forms.fields.SlugField exists, but is not listed on http://docs.djangoproject.com/en/dev/ref/forms/fields/.

Attachments (1)

slugfield_docs.diff (895 bytes) - added by gabrielhurley 5 years ago.
Documents SlugField in its proper place.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by russellm

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

Changed 5 years ago by gabrielhurley

Documents SlugField in its proper place.

comment:2 Changed 5 years ago by gabrielhurley

  • Cc gabrielhurley added
  • Has patch set
  • Owner changed from nobody to gabrielhurley
  • Status changed from new to assigned

Added a patch for docs/ref/forms/fields.txt that documents SlugField in its proper place. Simple fix, should be ready for check-in, but I'll leave that for someone more important than I...

comment:3 Changed 5 years ago by ubernostrum

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

(In [12673]) Fixed #12601: Documented the slug field in the forms module.

comment:4 Changed 5 years ago by ubernostrum

(In [12674]) [1.1.X] Fixed #12601: Documented the slug field in the forms module. Backport of [12673] from trunk.

comment:5 Changed 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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