> Makes it easy to display a command line progress bar but, again, I end up
with loads of progress bars displaying in my test output, and I assume
it'll do the same when scheduling the task to run
You can try a module I made to avoid this particular issue in django
management command -
Belated thanks for this Erik - that does work nicely. It gets
complicated/annoying trying to untangle other kinds of logging too,
including logging from third-party modules, but that's a separate problem :)
On 9 May 2016 at 21:33, Erik Cederstrand wrote:
>
> > Den 9.
> Den 9. maj 2016 kl. 14.23 skrev Phil Gyford :
>
> I have a custom management command which calls a method in another class,
> which fetches lots of data from a third-party API. Fetching the data could
> take a few seconds or it could take over an hour, depending on the
I have a custom management command which calls a method in another class,
which fetches lots of data from a third-party API. Fetching the data could
take a few seconds or it could take over an hour, depending on the quantity.
I'd like to display progress on the command line, so the user knows the
4 matches
Mail list logo