Opened 8 years ago

Closed 8 years ago

#3696 closed (fixed)

Doctest enhancements in defaulttags.py

Reported by: Simon G. <dev@…> Owned by: adrian
Component: contrib.admin Version: master
Severity: Keywords:
Cc: dev@… Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 (1)

defaulttags.diff (3.1 KB) - added by Simon G. <dev@…> 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Simon G. <dev@…>

comment:1 Changed 8 years ago by mtredinnick

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

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

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