mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-11 03:37:06 +02:00
Drop model name from permission descriptions
This commit is contained in:
@@ -12,6 +12,6 @@ class Migration(migrations.Migration):
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='device',
|
||||
options={'ordering': ('name', 'pk'), 'permissions': [('render_config', 'Render device configuration')]},
|
||||
options={'ordering': ('name', 'pk'), 'permissions': [('render_config', 'Render configuration')]},
|
||||
),
|
||||
]
|
||||
|
||||
@@ -760,7 +760,7 @@ class Device(
|
||||
verbose_name = _('device')
|
||||
verbose_name_plural = _('devices')
|
||||
permissions = [
|
||||
('render_config', 'Render device configuration'),
|
||||
('render_config', 'Render configuration'),
|
||||
]
|
||||
|
||||
def __str__(self):
|
||||
|
||||
@@ -12,6 +12,6 @@ class Migration(migrations.Migration):
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='virtualmachine',
|
||||
options={'ordering': ('name', 'pk'), 'permissions': [('render_config', 'Render VM configuration')]},
|
||||
options={'ordering': ('name', 'pk'), 'permissions': [('render_config', 'Render configuration')]},
|
||||
),
|
||||
]
|
||||
|
||||
@@ -277,7 +277,7 @@ class VirtualMachine(
|
||||
verbose_name = _('virtual machine')
|
||||
verbose_name_plural = _('virtual machines')
|
||||
permissions = [
|
||||
('render_config', 'Render VM configuration'),
|
||||
('render_config', 'Render configuration'),
|
||||
]
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user