Skip to content

Commit

Permalink
Increased doc_url (GeoNode#11748)
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy authored Dec 5, 2023
1 parent 7cac111 commit f7f0cac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions geonode/documents/migrations/0038_alter_document_doc_url.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.22 on 2023-12-05 10:13

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('documents', '0037_delete_documentresourcelink'),
]

operations = [
migrations.AlterField(
model_name='document',
name='doc_url',
field=models.URLField(blank=True, help_text='The URL of the document if it is external.', max_length=512, null=True, verbose_name='URL'),
),
]
2 changes: 1 addition & 1 deletion geonode/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Document(ResourceBase):
doc_url = models.URLField(
blank=True,
null=True,
max_length=255,
max_length=512,
help_text=_("The URL of the document if it is external."),
verbose_name=_("URL"),
)
Expand Down

0 comments on commit f7f0cac

Please sign in to comment.