Permalink
Browse files

Fixed #3469 -- added django.utils documentation for stable bits

Thanks to Rupe and Ramiro Morales for their initial work on this patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4cf4acb commit 47639b641060bc0520983314e68f1dbbbe57c1cb @brosner brosner committed May 8, 2010
Showing with 517 additions and 4 deletions.
  1. +5 −1 django/utils/feedgenerator.py
  2. +3 −2 django/utils/translation/trans_real.py
  3. +2 −1 docs/misc/api-stability.txt
  4. +1 −0 docs/ref/index.txt
  5. +506 −0 docs/ref/utils.txt
@@ -10,7 +10,11 @@
... description=u"A group weblog by the sharpest minds in online media/journalism/publishing.",
... language=u"en",
... )
->>> feed.add_item(title="Hello", link=u"http://www.holovaty.com/test/", description="Testing.")
+>>> feed.add_item(
+... title="Hello",
+... link=u"http://www.holovaty.com/test/",
+... description="Testing."
+... )
>>> fp = open('test.rss', 'w')
>>> feed.write(fp, 'utf-8')
>>> fp.close()
@@ -224,8 +224,9 @@ def get_language():
def get_language_bidi():
"""
Returns selected language's BiDi layout.
- False = left-to-right layout
- True = right-to-left layout
+
+ * False = left-to-right layout
+ * True = right-to-left layout
"""
from django.conf import settings
@@ -96,7 +96,8 @@ of 1.0. This includes these APIs:
``django.utils``
----------------
-Most of the modules in ``django.utils`` are designed for internal use. Only the following parts of ``django.utils`` can be considered stable:
+Most of the modules in ``django.utils`` are designed for internal use. Only
+the following parts of :ref:`django.utils <ref-utils>` can be considered stable:
- ``django.utils.cache``
- ``django.utils.datastructures.SortedDict`` -- only this single class; the
View
@@ -21,4 +21,5 @@ API Reference
signals
templates/index
unicode
+ utils
validators
Oops, something went wrong.

0 comments on commit 47639b6

Please sign in to comment.