Skip to content

Commit

Permalink
Merge pull request #30 from maykinmedia/fix/29-url-length
Browse files Browse the repository at this point in the history
[#29] change url field to textfield
  • Loading branch information
sergei-maertens authored Oct 6, 2023
2 parents f24e9e5 + b975aa3 commit 1d1b877
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 4.1 on 2023-10-06 12:08

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("log_outgoing_requests", "0004_alter_outgoingrequestslog_hostname_and_more"),
]

operations = [
migrations.AlterField(
model_name="outgoingrequestslog",
name="url",
field=models.TextField(
help_text="The url of the outgoing request.",
verbose_name="URL",
),
),
]
3 changes: 1 addition & 2 deletions log_outgoing_requests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ def prune(self) -> int:


class OutgoingRequestsLog(models.Model):
url = models.URLField(
url = models.TextField(
verbose_name=_("URL"),
max_length=1000,
help_text=_("The url of the outgoing request."),
)

Expand Down

0 comments on commit 1d1b877

Please sign in to comment.