mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 13:47:07 +00:00
remove tinyMCE more
This commit is contained in:
@@ -53,16 +53,22 @@ def pathsreport(request):
|
||||
"SVX_URL" : SVX_URL,
|
||||
"TEMPLATE_DIRS" : TEMPLATE_DIRS,
|
||||
"THREEDCACHEDIR" : THREEDCACHEDIR,
|
||||
"TINY_MCE_MEDIA_ROOT" : TINY_MCE_MEDIA_ROOT,
|
||||
"TINY_MCE_MEDIA_URL" : TINY_MCE_MEDIA_URL,
|
||||
# "TINY_MCE_MEDIA_ROOT" : TINY_MCE_MEDIA_ROOT,
|
||||
# "TINY_MCE_MEDIA_URL" : TINY_MCE_MEDIA_URL,
|
||||
"TUNNEL_DATA" : TUNNEL_DATA,
|
||||
"URL_ROOT" : URL_ROOT
|
||||
}
|
||||
|
||||
# settings are unique by paths are not
|
||||
ncodes = len(pathsdict)
|
||||
|
||||
bycodeslist = sorted(pathsdict.items())
|
||||
bypathslist = sorted(iter(pathsdict.items()), key=lambda x: x[1])
|
||||
|
||||
# create a temporary list
|
||||
bypathslist = []
|
||||
# iterate through the dictionary and append each tuple into the temporary list
|
||||
for key, value in pathsdict.items():
|
||||
tmptuple = (key, value)
|
||||
bypathslist.append(tmptuple)
|
||||
# bypathslist = sorted(bypathslist)
|
||||
|
||||
return render(request, 'pathsreport.html', {
|
||||
"pathsdict":pathsdict,
|
||||
|
||||
Reference in New Issue
Block a user