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:
committed by
Sarah Boyce
parent
4187da258f
commit
f02b49d2f3
14
tests/auth_tests/operations_migrations/0001_initial.py
Normal file
14
tests/auth_tests/operations_migrations/0001_initial.py
Normal 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)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user