Django

Code

Ticket #6732 (closed: fixed)

Opened 6 months ago

Last modified 6 months ago

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

Reported by: Atul Varma <varmaa@gmail.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

6732.diff (0.7 kB) - added by thejaswi_puthraya on 03/07/08 08:59:12.
converted description to patch

Change History

03/07/08 08:59:12 changed by thejaswi_puthraya

  • attachment 6732.diff added.

converted description to patch

03/07/08 09:03:36 changed by thejaswi_puthraya

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

Converted the description into a patch.

03/07/08 21:19:52 changed by gwilson

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

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


Add/Change #6732 (Typo in templates_python.txt: "must" missing between "module" and "contain")




Change Properties
Action