RenameContentType. rename() doesn't save the content type on the correct database Description
RenameContentType. rename() doesn't save the content type on the correct database Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). The commit in question: https://github.com/django/django/commit/f179113e6cbc8ba0a8d4e87e1d4410fb61d63e75 The specific lines in question…
The task
The commit in question: https://github.com/django/django/commit/f179113e6cbc8ba0a8d4e87e1d4410fb61d63e75 The specific lines in question: https://github.com/django/django/blob/586a9dc4295357de1f5ad0590ad34bf2bc008f79/django/contrib/contenttypes/management/__init__.py#L27 with transaction.atomic(using=db):…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.