Skip to content

Commit

Permalink
[requested-change] Changed group field verbose name in device model
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Jul 13, 2021
1 parent 8de60b2 commit 9cbcf24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openwisp_controller/config/base/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AbstractDevice(OrgMixin, BaseModel):
notes = models.TextField(blank=True, help_text=_('internal notes'))
group = models.ForeignKey(
get_model_name('config', 'DeviceGroup'),
verbose_name=_('Device Group'),
verbose_name=_('Group'),
on_delete=models.SET_NULL,
blank=True,
null=True,
Expand Down
2 changes: 1 addition & 1 deletion openwisp_controller/config/migrations/0036_devicegroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Migration(migrations.Migration):
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to=swapper.get_model_name('config', 'DeviceGroup'),
verbose_name='Device Group',
verbose_name='Group',
),
),
migrations.RunPython(
Expand Down

0 comments on commit 9cbcf24

Please sign in to comment.