Commit Graph

35 Commits

Author SHA1 Message Date
Adrian Holovaty 448becefdf Fixed #2096 -- Fixed small error in docs/templates_python.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:38:37 +00:00
Adrian Holovaty c18dc3d759 Fixed #1870 -- Clarified (hopefully) the TEMPLATE_DIRS section of docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 05:06:36 +00:00
Adrian Holovaty 14392b032d Made some edits to docs/templates_python.txt 'inclusion_tag' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:29:27 +00:00
Malcolm Tredinnick b631a50250 Fixed #2001 -- corrected a couple of typos in the custom tag examples. Thanks
to topdeckmail@gmail.com.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@2978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:09:25 +00:00
Malcolm Tredinnick 026d8c6f08 Documented the simple_tag and inclusion_tag functions that make writing certain
types of template tags easier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 02:02:34 +00:00
Adrian Holovaty c643e12faf Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 21:28:06 +00:00
Adrian Holovaty f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty 9494d4b7c2 Fixed #1546 -- Fixed bad links in docs/templates_python.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-27 20:13:59 +00:00
Adrian Holovaty e0c915ec39 Added TEMPLATE_STRING_IF_INVALID setting, which specifies what the template system should output in case of invalid variables. Default is empty string (to match current behavior)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-09 00:31:51 +00:00
Adrian Holovaty 1dc65cb6ab Fixed #1271 -- Added a 'request' template context processor, which is not activated by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:55:04 +00:00
Adrian Holovaty 01e514f510 Added note to docs/templates_python.txt about TEMPLATE_DIRS containing any path you want
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-20 20:33:40 +00:00
Adrian Holovaty 2e0fc1ff95 Fixed typo in URL in docs/templates_python.txt. Thanks, Luke Skibinski Holt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 16:46:30 +00:00
Adrian Holovaty 6a0ba52223 Removed 'Subclassing Context: Custom subclasses' from docs/templates_python.txt because the same thing can be accomplished using DjangoContext processors
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 04:41:23 +00:00
Jacob Kaplan-Moss e9727a857b Fixed error in docs/templates_python.txt (thanks, Alice)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 14:46:38 +00:00
Adrian Holovaty 786e5477b7 Removed 'Only in Django development version' messages from the docs, because frozen docs for version 0.90 are now available
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 00:11:29 +00:00
Adrian Holovaty 6af37477bd Fixed #1116 -- Fixed two typos in docs. Thanks, Cheng
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:51:48 +00:00
Adrian Holovaty c62369361b Updated settings.txt and templates_python.txt to clarify that TEMPLATE_DIRS requires Unix-style slashes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-31 01:46:04 +00:00
Adrian Holovaty 49fd163a95 Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:39:59 +00:00
Adrian Holovaty 2fb95f1de6 Changed template library system so that it looks for a module-level variable named 'register' rather than the first instance of template.Library it finds
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:43:56 +00:00
Adrian Holovaty 515ae9c128 Fixed ReST error in docs/templates_python.txt. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 07:28:51 +00:00
Adrian Holovaty 3ede006fc9 Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 22:46:31 +00:00
Adrian Holovaty 93519513a1 Added links to auth docs in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:59:22 +00:00
Adrian Holovaty c6ef1e0588 Changed register_tag example in docs/templates_python.txt to be consistent with other examples. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:26:40 +00:00
Adrian Holovaty 3df39deede Added 'Loader types' section to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 03:00:18 +00:00
Adrian Holovaty f71f854628 Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:10:13 +00:00
Adrian Holovaty 6f07f717c0 Fixed #591 -- fixed typo in docs/templates_python.txt. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 13:34:59 +00:00
Adrian Holovaty 93010c75f2 Fixed #465 -- Fixed typo in docs/templates_python.txt. Thanks, Manuzhai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 21:30:45 +00:00
Adrian Holovaty 1087ee3d5e Fixed #462 -- Fixed typo in docs/templates_python.txt. Thanks, eugene@lazutkin.com and sanxiyn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 12:37:54 +00:00
Adrian Holovaty 4ea3dd5dbd Fixed small typo in [628]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:07:38 +00:00
Adrian Holovaty cadb6a008d Finished docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:05:50 +00:00
Adrian Holovaty 276731d625 Fixed some more formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:37:39 +00:00
Adrian Holovaty adae680c73 Fixed some formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:35:51 +00:00
Adrian Holovaty f9f0ea9308 Added a couple more sections to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:30:23 +00:00
Adrian Holovaty e131e400e0 Made small cleanups to [623]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 00:01:44 +00:00
Adrian Holovaty 096ad32c84 Added docs/templates_python.txt, which isn't finished yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 23:38:46 +00:00