Django

Code

Ticket #3696 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Doctest enhancements in defaulttags.py

Reported by: Simon G. <dev@simon.net.nz> Assigned to: adrian
Milestone: Component: Admin interface
Version: SVN Keywords:
Cc: dev@simon.net.nz Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

Description

Some of the doctests in default tags were causing html validation issues (mainly <blockquote>'s without a nested tag like <p> inside them - note that url's docstring needs that linebreak so ReSt? doesn't generate wonky html), whilst others were not documented in the "right" place for the admin documentation pages to process.

I've also added doctest info about {% debug %}.

Attachments

defaulttags.diff (3.1 kB) - added by Simon G. <dev@simon.net.nz> on 03/10/07 03:34:04.

Change History

03/10/07 03:34:04 changed by Simon G. <dev@simon.net.nz>

  • attachment defaulttags.diff added.

03/10/07 05:37:12 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [4700]) Fixed #3696 -- Fixed inline documentation to avoid some HTML validity issues. Patch from Simon Greenhill.


Add/Change #3696 (Doctest enhancements in defaulttags.py)




Change Properties
Action