Skip to content

Commit ce9c654

Browse files
fix: Fix typo in permission name (#476)
Closes #474.
1 parent 695447e commit ce9c654

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 5.2.4 on 2025-07-22 14:47
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('djangocms_versioning', '0017_merge_20230514_1027'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='version',
15+
options={'permissions': (('delete_versionlock', 'Can unlock version'),)},
16+
),
17+
]

djangocms_versioning/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class Version(models.Model):
128128
class Meta:
129129
unique_together = ("content_type", "object_id")
130130
permissions = (
131-
("delete_versionlock", "Can unlock verision"),
131+
("delete_versionlock", "Can unlock version"),
132132
)
133133

134134
def __str__(self):

0 commit comments

Comments
 (0)