Code

Opened 7 months ago

Last modified 7 months ago

#21652 new New feature

Make ``loaddata`` notify about how many objects from fixture got processed

Reported by: while0pass Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Normal Keywords:
Cc: while0pass@… Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When fixture is not very small, it may take perceptibly a long while to load it. And currently there is no output from the command irrespective of verbosity level. It usually makes people feel anxious when script freezes for a long time without any output.

I have a basic patch for loaddata (see attached diff file), but I could try making something more informative if the idea is welcomed.

Attachments (1)

ticket.21652--r.046a8eb9c499e0281a8e263a66e05dd6305d9e4e.diff (1.1 KB) - added by while0pass 7 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 months ago by charettes

  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 months ago by while0pass

  • Cc while0pass@… added

comment:3 Changed 7 months ago by while0pass

  • Summary changed from responsive output of ``loaddata`` about how many objects got loaded to Make ``loaddata`` notify about how many objects from fixture got processed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.