Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8757 closed (fixed)

Typo in custom templatetags docs

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


At the end of the inclusion tags section there is a short line that isn't styled as template code:

Then, any time you want to use that custom tag, load its library and call it without any arguments, like so:

.. code-block:: html+django

    {% jump_link %}

I include a patch with the probable solution, but please review as I couldn't test it.

Attachments (1)

inclusion_tag_docs_patch.diff (482 bytes) - added by framos 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by framos

comment:1 Changed 8 years ago by richardb

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

Hi Framos, I've applied your patch to my locally-built copy of the documentation and it works exactly as you intended.

comment:2 Changed 8 years ago by framos

Thanks richardb, I'm always wary of seemingly-trivial damnhowcanthisfail patches.

comment:3 Changed 8 years ago by ubernostrum

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

(In [8828]) Fixed #8757: Corrected formatting of inclusion tag example

comment:4 Changed 5 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

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