Adrian Holovaty
|
991bb61242
|
Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 04:08:46 +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
|
473eabc447
|
Negligible spacing change in tests/othertests/templates.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 01:54:17 +00:00 |
Adrian Holovaty
|
5d863f1fbd
|
Fixed #603 -- Added template debugging errors to pretty error-page output, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-23 23:10:17 +00:00 |
Adrian Holovaty
|
bedf10a98d
|
Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-22 05:44:04 +00:00 |
Georg Bauer
|
3478fb51d6
|
fixed two failing i18n tests - they only failed when using ./runtests, now they work both ways. And template tests give tracebacks when they fail.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-17 15:55:04 +00:00 |
Adrian Holovaty
|
2a149e29b8
|
Fixed dateformat unit test that was failing -- the test was incorrect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 20:41:18 +00:00 |
Adrian Holovaty
|
ba87f474dc
|
Changed dateformat unit tests so that they use the en-us language. They were failing because they depended on the current user's LANGUAGE_CODE setting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 20:36:23 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |
Adrian Holovaty
|
e0d2793b7b
|
Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-25 01:44:14 +00:00 |
Adrian Holovaty
|
17f62269c2
|
Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-22 21:37:59 +00:00 |
Adrian Holovaty
|
6ee014725e
|
Changed template unit test runner to use new template-loader framework from [870]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-14 22:28:38 +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 |
Jacob Kaplan-Moss
|
27b1f69d79
|
Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 23:34:29 +00:00 |
Adrian Holovaty
|
8a7189f38f
|
Fixed #501 -- Fixed block.super in multi-level templates, and added unit tests to confirm. Thanks for the patch, django@kieranholland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 04:22:09 +00:00 |
Adrian Holovaty
|
095305cb44
|
Fixed #486 -- Fixed bug in template filter parsing in edge cases, and added unit tests. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-11 15:18:04 +00:00 |
Adrian Holovaty
|
def5d10ffc
|
Fixed #365 -- Changed template.resolve_variable to resolve hard-coded strings. Thanks, davidschein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-01 02:18:04 +00:00 |
Adrian Holovaty
|
d80ac5ac25
|
Fixed #256 and #334 -- Added {% ifequal %} template tag. Also, {% ifequal %} and {% ifnotequal %} now both accept an optional {% else %} clause. Unit tests included.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 21:11:41 +00:00 |
Adrian Holovaty
|
8d8da826db
|
Changed timestamp and time typecasting to preserve microseconds. Added unit tests to test this behavior, and added a db_typecast unit test module. Refs #306.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 19:34:34 +00:00 |
Jacob Kaplan-Moss
|
6f4e6b4bcb
|
Changed markup tests to not fail if required modules are not installed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 18:32:19 +00:00 |
Jacob Kaplan-Moss
|
8e2d275390
|
Fixed #241 -- added django.contrib.markup app with markup templatetags for Textile, ReST and Markdown
git-svn-id: http://code.djangoproject.com/svn/django/trunk@467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 18:31:33 +00:00 |
Jacob Kaplan-Moss
|
440a2a97e9
|
Added framework for writing non-model-based tests, and added tests for cache and templates
from the old django/tests location (which has been removed).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-01 19:09:07 +00:00 |