mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
fix bug of can't change permission chang_config's name
This commit is contained in:
parent
b032f8f72b
commit
887ee92e62
1 changed files with 2 additions and 2 deletions
|
|
@ -30,6 +30,6 @@ class ConstanceConfig(AppConfig):
|
|||
)
|
||||
|
||||
permission, created = Permission.objects.using(using).get_or_create(
|
||||
name='Can change config',
|
||||
content_type=content_type,
|
||||
codename='change_config')
|
||||
codename='change_config',
|
||||
defaults={'name': 'Can change config'})
|
||||
|
|
|
|||
Loading…
Reference in a new issue