[1.5.x] Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.

Thanks josh.23.french@.

Backport of 536703abf0 from master