<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/regressiontests/many_to_one_regress/models.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2013-02-26T13:36:57Z</updated>
<entry>
<title>Merged regressiontests and modeltests into the test root.</title>
<updated>2013-02-26T13:36:57Z</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2013-02-26T08:53:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=89f40e36246100df6a11316c31a76712ebc6c501'/>
<id>urn:sha1:89f40e36246100df6a11316c31a76712ebc6c501</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #17541 -- Fixed non-saved/nullable fk querying</title>
<updated>2013-01-08T19:02:38Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2013-01-06T16:40:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=55da775ce1bfba20db33b56c29957faa63917980'/>
<id>urn:sha1:55da775ce1bfba20db33b56c29957faa63917980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[py3] Refactored __unicode__ to __str__.</title>
<updated>2012-08-12T12:44:40Z</updated>
<author>
<name>Aymeric Augustin</name>
<email>aymeric.augustin@m4x.org</email>
</author>
<published>2012-08-12T10:32:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d4a0b27838c815af87698920cc4db7d2afd6f05b'/>
<id>urn:sha1:d4a0b27838c815af87698920cc4db7d2afd6f05b</id>
<content type='text'>
* Renamed the __unicode__ methods
* Applied the python_2_unicode_compatible decorator
* Removed the StrAndUnicode mix-in that is superseded by
  python_2_unicode_compatible
* Kept the __unicode__ methods in classes that specifically
  test it under Python 2
</content>
</entry>
<entry>
<title>Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.</title>
<updated>2012-06-07T16:08:47Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2012-06-07T16:08:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4a103086d5c67fa4fcc53c106c9fdf644c742dd8'/>
<id>urn:sha1:4a103086d5c67fa4fcc53c106c9fdf644c742dd8</id>
<content type='text'>
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
</content>
</entry>
<entry>
<title>Fixed #14459 -- converted many_to_one_regress tests from doctests to unittests.  We have always been at war with doctests.  Patch from Gabriel Hurley.</title>
<updated>2010-10-14T01:24:34Z</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2010-10-14T01:24:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1ac4c101aeda3ad6a1a4660577be14ea3b0d2f27'/>
<id>urn:sha1:1ac4c101aeda3ad6a1a4660577be14ea3b0d2f27</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #12190 -- Corrected a regression in the ability to instantiate ForeignKeys outside of models. Thanks to jittat for the report.</title>
<updated>2009-11-10T15:21:12Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2009-11-10T15:21:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=70f9a4f6ceb1bc4a33714e3b1cfb99175e2fcf3f'/>
<id>urn:sha1:70f9a4f6ceb1bc4a33714e3b1cfb99175e2fcf3f</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #9649 -- Better error handling in model creation.</title>
<updated>2009-03-06T04:51:05Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2009-03-06T04:51:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=53da1e47942f22a56e761d786ba89d05ca55a224'/>
<id>urn:sha1:53da1e47942f22a56e761d786ba89d05ca55a224</id>
<content type='text'>
Previously, you could explicitly assign None to a non-null ForeignKey
(or other) field when creating the model (Child(parent=None), etc). We
now throw an exception when you do that, which matches the behaviour
when you assign None to the attribute after creation.

Thanks to ales.zoulek@gmail.com and ondrej.kohout@gmail.com for some
analysis of this problem.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Added a test from kcarnold to show that #7498 is fixed. Refs #7498.</title>
<updated>2008-08-27T05:44:26Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2008-08-27T05:44:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=900178d79594898f1d924c69800d48b6232bc41f'/>
<id>urn:sha1:900178d79594898f1d924c69800d48b6232bc41f</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Added tests for accessing nullable ForeignKey after saving and fetching from the database (refs #8093).</title>
<updated>2008-08-03T03:03:46Z</updated>
<author>
<name>Gary Wilson Jr</name>
<email>gary.wilson@gmail.com</email>
</author>
<published>2008-08-03T03:03:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3d918f41f50f1f1f756adbc77ed9575d6b475166'/>
<id>urn:sha1:3d918f41f50f1f1f756adbc77ed9575d6b475166</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8070 -- Cache related objects passed to Model init as keyword arguments.  Also:</title>
<updated>2008-08-01T23:16:59Z</updated>
<author>
<name>Gary Wilson Jr</name>
<email>gary.wilson@gmail.com</email>
</author>
<published>2008-08-01T23:16:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2db4b134809e162a6aa142300a1df14638eeae94'/>
<id>urn:sha1:2db4b134809e162a6aa142300a1df14638eeae94</id>
<content type='text'>
 * Model init no longer performs a database query to refetch the related objects it is passed.
 * Model init now caches unsaved related objects correctly, too. (Previously, accessing the field would raise `DoesNotExist` error for `null=False` fields.)
 * Added tests for assigning `None` to `null=True` `ForeignKey` fields (refs #6886).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
