<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/template_tests/syntax_tests/test_basic.py, branch 4.0.4</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=4.0.4</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=4.0.4'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2022-02-08T11:15:38Z</updated>
<entry>
<title>[4.0.x] Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-08T11:15:38Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-08T11:09:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6a682b38e75d4c975b4c4493565a59f1bc14397c'/>
<id>urn:sha1:6a682b38e75d4c975b4c4493565a59f1bc14397c</id>
<content type='text'>
Backport of 9c19aff7c7561e3a82978a272ecdaad40dda5c00 from main.
</content>
</entry>
<entry>
<title>Refs #24121 -- Added __repr__() to AdminForm, BlockContext, BlockTranslateNode, and IncludeNode.</title>
<updated>2021-06-10T10:47:53Z</updated>
<author>
<name>saeedblanchette</name>
<email>saiidblanchettel@outlook.com</email>
</author>
<published>2021-06-08T16:00:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=66ed03e7c9ae4cd754aa918c6f4c9227cf424141'/>
<id>urn:sha1:66ed03e7c9ae4cd754aa918c6f4c9227cf424141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed some outdated backwards compatibility imports and misleading comments.</title>
<updated>2019-09-24T13:18:53Z</updated>
<author>
<name>Mads Jensen</name>
<email>mje@inducks.org</email>
</author>
<published>2019-07-18T06:13:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=129583a0d3cf69b08d058cd751d777588801b7ad'/>
<id>urn:sha1:129583a0d3cf69b08d058cd751d777588801b7ad</id>
<content type='text'>
EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab.
FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0.
BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9.
EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797.
BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef.
</content>
</entry>
<entry>
<title>Fixed #25404 -- Added line numbers to TemplateSyntaxError strings.</title>
<updated>2015-09-15T16:25:13Z</updated>
<author>
<name>Dave Smith</name>
<email>dsmith@hirevue.com</email>
</author>
<published>2015-09-11T03:05:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b53b4d5c107dbd56386c599582f46c522877a651'/>
<id>urn:sha1:b53b4d5c107dbd56386c599582f46c522877a651</id>
<content type='text'>
This makes it much easier to diagnose a test failure when all
you have is the stack trace from an uncaught TemplateSyntaxError.
</content>
</entry>
<entry>
<title>Fixed #24257 -- Corrected i18n handling of percent signs.</title>
<updated>2015-08-12T14:23:34Z</updated>
<author>
<name>Doug Beck</name>
<email>doug@douglasbeck.com</email>
</author>
<published>2015-04-15T21:01:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b7508896fbe19ec2cdeb81565cd587091b6b68d0'/>
<id>urn:sha1:b7508896fbe19ec2cdeb81565cd587091b6b68d0</id>
<content type='text'>
Refactored tests to use a sample project.

Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
  so they are not interpreted by gettext as string format flags. All
  strings extracted by gettext, if containing a percent sign, will now
  be labeled "#, python-format".

Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
</content>
</entry>
<entry>
<title>Cleaned up the template debug implementation.</title>
<updated>2015-03-20T12:58:07Z</updated>
<author>
<name>Preston Timmons</name>
<email>prestontimmons@gmail.com</email>
</author>
<published>2015-03-06T15:53:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=55f12f8709f0604df7e1817a4c114ead1fb9a311'/>
<id>urn:sha1:55f12f8709f0604df7e1817a4c114ead1fb9a311</id>
<content type='text'>
This patch does three major things:

* Merges the django.template.debug implementation into django.template.base.

* Simplifies the debug implementation.

  The old implementation copied debug information to every token and node.
  The django_template_source attribute was set in multiple places, some
  quite hacky, like django.template.defaulttags.ForNode.

  Debug information is now annotated in two high-level places:

  * Template.compile_nodelist for errors during parsing
  * Node.render_annotated for errors during rendering

  These were chosen because they have access to the template and context
  as well as to all exceptions that happen during either the parse or
  render phase.

* Moves the contextual line traceback information creation from
  django.views.debug into django.template.base.Template. The debug views now
  only deal with the presentation of the debug information.
</content>
</entry>
<entry>
<title>Sorted imports with isort; refs #23860.</title>
<updated>2015-02-06T13:16:28Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2015-01-28T12:35:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0ed7d155635da9f79d4dd67e4889087d3673c6da'/>
<id>urn:sha1:0ed7d155635da9f79d4dd67e4889087d3673c6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Isolated template tests from Django settings.</title>
<updated>2014-12-28T15:23:01Z</updated>
<author>
<name>Aymeric Augustin</name>
<email>aymeric.augustin@m4x.org</email>
</author>
<published>2014-12-07T08:43:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=92a2d049a253fb499db88efb6cf6c9209f6f251c'/>
<id>urn:sha1:92a2d049a253fb499db88efb6cf6c9209f6f251c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #23958 -- Rewrote filter tests as unit tests.</title>
<updated>2014-12-06T15:57:46Z</updated>
<author>
<name>Preston Timmons</name>
<email>prestontimmons@gmail.com</email>
</author>
<published>2014-12-04T02:21:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=5c68870169deec9eff392c53a8e74e3482f02ade'/>
<id>urn:sha1:5c68870169deec9eff392c53a8e74e3482f02ade</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Converted recently refactored templates tests to SimpleTestCase.</title>
<updated>2014-12-03T23:56:46Z</updated>
<author>
<name>Ramiro Morales</name>
<email>cramm0@gmail.com</email>
</author>
<published>2014-12-03T20:36:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=16f26defa7510707742a15aa89cae56f11d14c3f'/>
<id>urn:sha1:16f26defa7510707742a15aa89cae56f11d14c3f</id>
<content type='text'>
These test methods don't need DB setup/teardown.

Refs #23768 and b872134b.
</content>
</entry>
</feed>
