We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d861f36 commit 22fc2bbCopy full SHA for 22fc2bb
django_rq/settings.py
@@ -1,3 +1,5 @@
1
+from operator import itemgetter
2
+
3
from django.conf import settings
4
from django.core.exceptions import ImproperlyConfigured
5
@@ -13,7 +15,7 @@
13
15
14
16
# All queues in list format so we can get them by index, includes failed queues
17
QUEUES_LIST = []
-for key, value in sorted(QUEUES.items()):
18
+for key, value in sorted(QUEUES.items(), key=itemgetter(0)):
19
QUEUES_LIST.append({'name': key, 'connection_config': value})
20
for config in get_unique_connection_configs():
21
QUEUES_LIST.append({'name': 'failed', 'connection_config': config})
0 commit comments