call the method connection.introspection.django_table_names with an argument boolean true, substitute the result for tables.
tables = connection . introspection . django_table_names ( only_existing = True )