}}}
Sometimes it can be useful if you have a file with data from multiple
applications / models, and we want to import only a portion of the data.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
I am going to mark this accepted. I don't feel strongly in one way or
another about this issue, I just want to get this out of unreviewed triage
stage.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:1>
* owner: nobody => alexmorozov
* status: new => assigned
Comment:
Seems useful. Recently I've faced a similar problem. Will give it a try.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:2>
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/5734
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:3>
Comment (by alexmorozov):
Guys, I've got a somewhat meta question: Shall I always squash my minor
fixes to PR and `push --force` them, or shall I leave them as separate
commits? Which way is the preferred one?
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:4>
Comment (by timgraham):
If it's a huge PR, incremental commits can make follow up review easier.
In this case, the patch looks small enough that you could squash right
away.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:5>
Comment (by alexmorozov):
Thank you, @timgraham. I've pushed the updated (and squashed) PR. All
lights are green. It'd be nice if you review the code. I'm not sure about
the [https://github.com/django/django/pull/5734/files#diff-
e25be54b3794c16fee263cfffae38a06R81 source] argument. Looks clumsy, but I
haven't thought out another way of keeping the output compatibility. Is
that OK?
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:6>
* cc: berker.peksag@… (added)
* needs_better_patch: 0 => 1
Comment:
I left some review comments on GitHub.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:7>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:8>
* needs_better_patch: 0 => 1
Comment:
Left a few more comments and branch needs a rebase to merge cleanly.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:9>
* needs_better_patch: 1 => 0
Comment:
[https://github.com/django/django/pull/6615 Updated PR] from Berker.
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:10>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ae2a7da86bf841d42be86dea3effb0261187c950" ae2a7da8]:
{{{
#!CommitTicketReference repository=""
revision="ae2a7da86bf841d42be86dea3effb0261187c950"
Fixed #20468 -- Added loaddata --exclude option.
Thanks Alex Morozov for the initial patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20468#comment:11>