              if isinstance(field, GeometryField):
                  self.remove_geometry_metadata(model, field)
          # Make sure all geom stuff is gone
          for geom_table in self.geometry_tables:
              with suppress(DatabaseError):
                  self.execute(
                      self.sql_discard_geometry_columns % {
                          "geom_table": geom_table,
                          "table": self.quote_name(model._meta.db_table),
                      }
 
</s> remove             with suppress(DatabaseError):
 </s> add             try: </s> remove                 with suppress(NoReverseMatch):
 </s> add                 try:
            try:
              if isinstance(field, GeometryField):
                  self.remove_geometry_metadata(model, field)
          # Make sure all geom stuff is gone
          for geom_table in self.geometry_tables:
            try:
                  self.execute(
                      self.sql_discard_geometry_columns % {
                          "geom_table": geom_table,
                          "table": self.quote_name(model._meta.db_table),
                      }
keep keep keep keep replace keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/contrib/gis/db/backends/spatialite/schema.py