make options consistent in celery
- changes 'broadcasts' to 'broadcast' in Celery page in admin section - re-orders celery queues on admin page to be in English alphabetical order (other than priority levels) - this makes them consistent with the Flower interface - fixes #3066
This commit is contained in:
parent
c9e6dcc2d9
commit
d2b2cc0521
2 changed files with 9 additions and 9 deletions
|
@ -110,20 +110,20 @@ class ClearCeleryForm(forms.Form):
|
|||
queues = forms.MultipleChoiceField(
|
||||
label="Queues",
|
||||
choices=[
|
||||
(LOW, "Low prioirty"),
|
||||
(LOW, "Low priority"),
|
||||
(MEDIUM, "Medium priority"),
|
||||
(HIGH, "High priority"),
|
||||
(STREAMS, "Streams"),
|
||||
(IMAGES, "Images"),
|
||||
(SUGGESTED_USERS, "Suggested users"),
|
||||
(EMAIL, "Email"),
|
||||
(BROADCAST, "Broadcast"),
|
||||
(CONNECTORS, "Connectors"),
|
||||
(LISTS, "Lists"),
|
||||
(INBOX, "Inbox"),
|
||||
(EMAIL, "Email"),
|
||||
(IMAGES, "Images"),
|
||||
(IMPORTS, "Imports"),
|
||||
(IMPORT_TRIGGERED, "Import triggered"),
|
||||
(BROADCAST, "Broadcasts"),
|
||||
(INBOX, "Inbox"),
|
||||
(LISTS, "Lists"),
|
||||
(MISC, "Misc"),
|
||||
(STREAMS, "Streams"),
|
||||
(SUGGESTED_USERS, "Suggested users"),
|
||||
],
|
||||
widget=forms.CheckboxSelectMultiple,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue