<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/core/management/commands/loaddata.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-08T18:25:02Z</updated>
<entry>
<title>[4.0.x] Refs #33476 -- Refactored code to strictly match 88 characters line length.</title>
<updated>2022-02-08T18:25:02Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2022-02-08T11:27:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3278c31fa59b41d03aea167f4cf85f4ddf7f848d'/>
<id>urn:sha1:3278c31fa59b41d03aea167f4cf85f4ddf7f848d</id>
<content type='text'>
Backport of 7119f40c9881666b6f9b5cf7df09ee1d21cc8344 from main.
</content>
</entry>
<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>Fixed #32317 -- Refactored loaddata command to make it extensible.</title>
<updated>2021-05-18T05:05:33Z</updated>
<author>
<name>William Schwartz</name>
<email>wkschwartz@gmail.com</email>
</author>
<published>2020-12-30T17:32:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=de32fe83a2e4a20887972c69a0693b94eb25a88b'/>
<id>urn:sha1:de32fe83a2e4a20887972c69a0693b94eb25a88b</id>
<content type='text'>
Moved deeply nested blocks out of inner loops to improve readability
and maintainability.

Thanks to Mariusz Felisiak, Shreyas Ravi, and Paolo Melchiorre for
feedback.
</content>
</entry>
<entry>
<title>Refs #32317 -- Simplified find_fixtures() in loaddata command.</title>
<updated>2021-05-14T18:45:04Z</updated>
<author>
<name>William Schwartz</name>
<email>wkschwartz@gmail.com</email>
</author>
<published>2020-12-30T17:49:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1557778121e5d04a80f1f7c81eeb4b47400939e4'/>
<id>urn:sha1:1557778121e5d04a80f1f7c81eeb4b47400939e4</id>
<content type='text'>
This always replaces 'fixture_name' with its base name, which preserves
the previous behavior, because os.path.basename() was not called only on
relative paths without os.path.sep i.e. when base name was equal to the
file name.

This also changes os.path.dirname() and os.path.basename() calls to the
equivalent os.path.split() call.
</content>
</entry>
<entry>
<title>Refs #32317 -- Cleaned up try/except blocks in loaddata command.</title>
<updated>2021-05-14T18:45:04Z</updated>
<author>
<name>William Schwartz</name>
<email>wkschwartz@gmail.com</email>
</author>
<published>2020-12-30T16:28:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1e655d35ad7540ea557c532ebc72a9acc407df50'/>
<id>urn:sha1:1e655d35ad7540ea557c532ebc72a9acc407df50</id>
<content type='text'>
This moves code unable to trigger relevant exceptions outside of
try/except blocks, and changes 'objects' to 'objects_in_fixture'
which is equal to the length of 'objects'.
</content>
</entry>
<entry>
<title>Used model's Options.label where applicable.</title>
<updated>2020-12-29T07:56:39Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-12-29T07:56:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ce30e750e6259068ac348aa71f855a5f70d2d49f'/>
<id>urn:sha1:ce30e750e6259068ac348aa71f855a5f70d2d49f</id>
<content type='text'>
Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49.</content>
</entry>
<entry>
<title>Tweaked loaddata command to re-use a calculated value.</title>
<updated>2020-09-17T08:49:54Z</updated>
<author>
<name>Владимир Лысенко</name>
<email>wofkin@gmail.com</email>
</author>
<published>2020-09-17T08:24:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b376297d6c2eec5dd878dee35b36bb985b723244'/>
<id>urn:sha1:b376297d6c2eec5dd878dee35b36bb985b723244</id>
<content type='text'>
Removed a dublicated call to get_public_serializer_formats which
had already populated self.serialization_formats.

Thanks to Nick Pope for review.
</content>
</entry>
<entry>
<title>Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata.</title>
<updated>2020-05-15T09:30:28Z</updated>
<author>
<name>Paolo Melchiorre</name>
<email>paolo@melchiorre.org</email>
</author>
<published>2020-05-15T07:40:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0e3b0da2e3ecee05e8b5eee763f444c94280dbcb'/>
<id>urn:sha1:0e3b0da2e3ecee05e8b5eee763f444c94280dbcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #18325 -- Removed unnecessary line endings in management commands.</title>
<updated>2020-04-27T08:10:36Z</updated>
<author>
<name>François Freitag</name>
<email>mail@franek.fr</email>
</author>
<published>2020-04-25T13:51:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=71d9876e39abafe81e031b92ecd300c7d13346ea'/>
<id>urn:sha1:71d9876e39abafe81e031b92ecd300c7d13346ea</id>
<content type='text'>
The OutputWrapper automatically adds \n when it’s not present.
</content>
</entry>
<entry>
<title>Fixed #31428 -- Allowed empty message in management command self.stdout/err proxies.</title>
<updated>2020-04-07T06:45:11Z</updated>
<author>
<name>François Freitag</name>
<email>mail@franek.fr</email>
</author>
<published>2020-04-06T10:12:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e03eb8db9371c2af864b124701b8f970ff405ca9'/>
<id>urn:sha1:e03eb8db9371c2af864b124701b8f970ff405ca9</id>
<content type='text'>
</content>
</entry>
</feed>
