Opened 6 years ago

Closed 6 years ago

#29746 closed Bug (fixed)

FlatpageForm help_text is misleading when APPEND_SLASH is False

Reported by: Tom Carrick Owned by: Tom Carrick
Component: contrib.flatpages Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As pointed out by code1 on IRC, when using FlatPageForm when APPEND_SLASH is False, the validation allows URLs without trailing slashes, however the help text still says that a trailing slash is required: "Example: '/about/contact/'. Make sure to have leading and trailing slashes."

Assigning myself, will pick this up if/when it's accepted.

Change History (4)

comment:1 by Tom Carrick, 6 years ago

Owner: changed from Tom Carrick to Tom Carrick

comment:2 by Tim Graham, 6 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Tom Carrick, 6 years ago

Has patch: set

comment:4 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: assignedclosed

In a43cfc23:

Fixed #29746 -- Fixed misleading FlatpageForm URL help text if APPEND_SLASH is disabled.

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