<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/template_tests/syntax_tests/test_basic.py, branch 2.1.11</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=2.1.11</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=2.1.11'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2015-09-15T16:25:13Z</updated>
<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>
<entry>
<title>Fixed #23768 -- Rewrote template tests as unit tests.</title>
<updated>2014-12-03T00:18:35Z</updated>
<author>
<name>Preston Timmons</name>
<email>prestontimmons@gmail.com</email>
</author>
<published>2014-11-12T01:32:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b872134bfc14f6322bd1e4b0a08bf5bfd2c43a52'/>
<id>urn:sha1:b872134bfc14f6322bd1e4b0a08bf5bfd2c43a52</id>
<content type='text'>
</content>
</entry>
</feed>
