mirror of
https://github.com/djohnlewis/stackdump
synced 2025-12-06 07:53:28 +00:00
Ordered the list of sites by name.
This commit is contained in:
@@ -404,7 +404,7 @@ def get_sites():
|
|||||||
handler.
|
handler.
|
||||||
'''
|
'''
|
||||||
try:
|
try:
|
||||||
sites = list(Site.select())
|
sites = list(Site.select().orderBy('name'))
|
||||||
if len(sites) == 0:
|
if len(sites) == 0:
|
||||||
raise NoSitesImportedError()
|
raise NoSitesImportedError()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user