Skip to content

Commit

Permalink
Change size of attachment name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kani999 committed Nov 28, 2022
1 parent 2a5faff commit 5aff718
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions netbox_attachments/migrations/0003_alter_netboxattachment_name.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.3 on 2022-11-28 07:19

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('netbox_attachments', '0002_alter_netboxattachment_options_and_more'),
]

operations = [
migrations.AlterField(
model_name='netboxattachment',
name='name',
field=models.CharField(blank=True, max_length=254),
),
]
2 changes: 1 addition & 1 deletion netbox_attachments/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class NetBoxAttachment(NetBoxModel):
upload_to=attachment_upload,
)
name = models.CharField(
max_length=50,
max_length=254,
blank=True
)
comments = models.TextField(
Expand Down
2 changes: 1 addition & 1 deletion netbox_attachments/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.3"

0 comments on commit 5aff718

Please sign in to comment.