@@ -65,7 +65,7 @@ def search(q, filters, offset, template_config, wiki_configs, fmt, multi):
6565 .select_related ("collection" )
6666 )
6767 filter_results = []
68- for filter in setting .TORQUE_FILTERS :
68+ for filter in settings .TORQUE_FILTERS :
6969 additional_filters = []
7070 for name , values in filters .items ():
7171 if name != filter .name ():
@@ -748,9 +748,9 @@ def get_csv(request, name, fmt):
748748
749749 columns = []
750750 for field_name in valid_field_names :
751- if field_name in getattr (settings , "CSV_PROCESSORS " , {}):
751+ if field_name in getattr (settings , "TORQUE_CSV_PROCESSORS " , {}):
752752 columns .extend (
753- settings .CSV_PROCESSORS [field_name ].field_names (field_name )
753+ settings .TORQUE_CSV_PROCESSORS [field_name ].field_names (field_name )
754754 )
755755 else :
756756 columns .append (field_name )
@@ -767,10 +767,10 @@ def get_csv(request, name, fmt):
767767 for field_name in valid_field_names :
768768 if (
769769 field_name in values_by_field
770- and field_name in getattr (settings , "CSV_PROCESSORS " , {})
770+ and field_name in getattr (settings , "TORQUE_CSV_PROCESSORS " , {})
771771 ):
772772 row .extend (
773- config . CSV_PROCESSORS [field_name ].process_value (
773+ settings . TORQUE_CSV_PROCESSORS [field_name ].process_value (
774774 values_by_field [field_name ].to_python ()
775775 )
776776 )
0 commit comments