1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #27489 -- Renamed permissions upon model renaming in migrations.

This commit is contained in:
Artyom Kotovskiy
2025-04-20 18:17:47 -04:00
committed by Sarah Boyce
parent 4187da258f
commit f02b49d2f3
6 changed files with 292 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
operations = [
migrations.CreateModel(
name="OldModel",
fields=[
("id", models.AutoField(primary_key=True)),
],
),
]