<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/contrib/flatpages/tests/csrf.py, branch stable/6.0.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2013-04-03T02:12:24Z</updated>
<entry>
<title>Updated flatpages tests for unittest2 discovery.</title>
<updated>2013-04-03T02:12:24Z</updated>
<author>
<name>Preston Timmons</name>
<email>prestontimmons@gfa.org</email>
</author>
<published>2013-04-02T23:22:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8aedde03850c450a5cd65cd2a908127f1afac390'/>
<id>urn:sha1:8aedde03850c450a5cd65cd2a908127f1afac390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #20048, #20060 -- Modified tests for contrib apps sensitive to custom User models.</title>
<updated>2013-03-23T01:57:48Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2013-03-23T01:57:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=930af661abdb4eb7322f1ab06f21df9ed04af43d'/>
<id>urn:sha1:930af661abdb4eb7322f1ab06f21df9ed04af43d</id>
<content type='text'>
Thanks to matiasb for the report of #20060 and the draft patch for #20048.
</content>
</entry>
<entry>
<title>Fixed #18408 -- Isolated flatpages tests from existing sites.</title>
<updated>2012-05-31T16:03:49Z</updated>
<author>
<name>Jens Page</name>
<email>jens.page@datajockey.org</email>
</author>
<published>2012-05-10T21:09:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ba10be70322027074e5f9defc1423eb0cc77473c'/>
<id>urn:sha1:ba10be70322027074e5f9defc1423eb0cc77473c</id>
<content type='text'>
Resolves Flatpages test issues by:
 - Creating an example_site fixture
 - Overriding project SITE_ID setting to 1
 - Normalizing the use of the hardcoded (1) site_id to settings.SITE_ID
</content>
</entry>
<entry>
<title>Used the override_settings decorator in the tests of auth, flatpages, and formtools.</title>
<updated>2012-03-31T16:03:09Z</updated>
<author>
<name>Aymeric Augustin</name>
<email>aymeric.augustin@m4x.org</email>
</author>
<published>2012-03-31T16:03:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=98e9d1c6aba3670712887b0b20317dcb0e25f249'/>
<id>urn:sha1:98e9d1c6aba3670712887b0b20317dcb0e25f249</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:</title>
<updated>2011-03-03T15:04:39Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2011-03-03T15:04:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=afd040d4d3a06fe92e3080870b2ff2095ce86a75'/>
<id>urn:sha1:afd040d4d3a06fe92e3080870b2ff2095ce86a75</id>
<content type='text'>
 assert_ -&gt; assertTrue
 assertEquals -&gt; assertEqual
 failUnless -&gt; assertTrue

For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #14252 - django.contrib.flatpages unit tests assume default value for settings.LOGIN_URL</title>
<updated>2010-09-13T23:09:56Z</updated>
<author>
<name>Luke Plant</name>
<email>L.Plant.98@cantab.net</email>
</author>
<published>2010-09-13T23:09:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=86031bf59d8dfb0972c064bb5e20da162e510c20'/>
<id>urn:sha1:86031bf59d8dfb0972c064bb5e20da162e510c20</id>
<content type='text'>
Thanks to pmclanahan for report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #6932 -- Added a template tag that gives a list of available flatpages for a given user. Thanks to Dmitri Fedortchenko for the suggestion, and to Mnewman, faldridge and Simon Meers for their work on the patch.</title>
<updated>2010-08-28T11:59:14Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2010-08-28T11:59:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e1e2726957ef2c74c5e7e3461d37c7603998c1af'/>
<id>urn:sha1:e1e2726957ef2c74c5e7e3461d37c7603998c1af</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #14156 -- Modified the way CSRF protection is applied to flatpages so that the flatpage middleware doesn't cause all POSTs resulting in 404s to turn into 403s. Thanks to patrys for the report.</title>
<updated>2010-08-27T13:55:11Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2010-08-27T13:55:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3f96a7a358895a90286c8752ebcc6b10ed426443'/>
<id>urn:sha1:3f96a7a358895a90286c8752ebcc6b10ed426443</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
