Code

Opened 6 years ago

Closed 6 years ago

#6732 closed (fixed)

Typo in templates_python.txt: "must" missing between "module" and "contain"

Reported by: Atul Varma <varmaa@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Patch follows below; the diff is bigger than it should be because I had to re-wrap the lines.

Index: docs/templates_python.txt
===================================================================
--- docs/templates_python.txt	(revision 7195)
+++ docs/templates_python.txt	(working copy)
@@ -629,9 +629,10 @@
 Once you've created that Python module, you'll just have to write a bit of
 Python code, depending on whether you're writing filters or tags.
 
-To be a valid tag library, the module contain a module-level variable named
-``register`` that is a ``template.Library`` instance, in which all the tags and
-filters are registered. So, near the top of your module, put the following::
+To be a valid tag library, the module must contain a module-level variable
+named ``register`` that is a ``template.Library`` instance, in which all the
+tags and filters are registered. So, near the top of your module, put the
+following::
 
     from django import template
 

Attachments (1)

6732.diff (680 bytes) - added by thejaswi_puthraya 6 years ago.
converted description to patch

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by thejaswi_puthraya

converted description to patch

comment:1 Changed 6 years ago by thejaswi_puthraya

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Converted the description into a patch.

comment:2 Changed 6 years ago by gwilson

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

(In [7203]) Fixed #6732 -- Added missing word "must" in templates_python.txt docs, thanks Atul Varma.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.