    of :setting:`DATABASE_ROUTERS`. If you have models synced to non-default
    databases, use the :djadminopt:`--database` flag to get SQL for those
    models (previously they would always be included in the output).
  
  .. _deprecated-features-1.7:
  
  Features deprecated in 1.7
  ==========================
  
 
</s> remove             case, bad UTF-8 encoding).
 </s> add             case, bad UTF-8 encoding), falling back to ISO-8859-1 decoding. </s> remove                 # query_string contains URL-encoded data, a subset of ASCII.
                query_string = query_string.decode()
 </s> add                 # query_string normally contains URL-encoded data, a subset of ASCII.
                try:
                    query_string = query_string.decode(encoding)
                except UnicodeDecodeError:
                    # ... but some user agents are misbehaving :-(
                    query_string = query_string.decode('iso-8859-1') </s> remove                                 force_text(value, encoding, errors='replace'))
 </s> add                                 value) </s> remove             self.assertEqual(q['foo'], '\ufffd')
            self.assertEqual(q.getlist('foo'), ['bar', '\ufffd'])
 </s> add             self.assertEqual(q['foo'], '\xff')
            self.assertEqual(q.getlist('foo'), ['bar', '\xff'])
* Decoding the query string from URLs now fallbacks to the ISO-8859-1 encoding
  when the input is not valid UTF-8.

    of :setting:`DATABASE_ROUTERS`. If you have models synced to non-default
    databases, use the :djadminopt:`--database` flag to get SQL for those
    models (previously they would always be included in the output).
  
* Decoding the query string from URLs now fallbacks to the ISO-8859-1 encoding
  when the input is not valid UTF-8.

  .. _deprecated-features-1.7:
  
  Features deprecated in 1.7
  ==========================
  
keep keep keep add keep keep keep keep keep
 Fixed #22996 -- Prevented crash with unencoded query string

Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews. 
docs/releases/1.7.txt