def reset_sequence(app_label):
puts("<STR_LIT>".format(app_label))<EOL>cursor = connection.cursor()<EOL>cmd = get_reset_command(app_label)<EOL>cursor.execute(cmd)<EOL>
Reset the primary key sequence for the tables in an application.
This is necessary if any local edits have happened to the table.