Skip to content

Commit 841bae7

Browse files
author
derpadoo
committed
Changed ScheduledScan.scan_command from CharField to TextField
1 parent 03a8d44 commit 841bae7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

master/django_scantron/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.19"
1+
__version__ = "1.20"

master/django_scantron/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class ScheduledScan(models.Model):
220220
)
221221
start_datetime = models.DateTimeField(verbose_name="Scheduled scan start date and time")
222222
scan_binary = models.CharField(max_length=7, default="nmap", verbose_name="Scan binary")
223-
scan_command = models.CharField(unique=False, max_length=1024, verbose_name="Scan command")
223+
scan_command = models.TextField(unique=False, verbose_name="Scan command")
224224
scan_command_id = models.IntegerField(
225225
validators=[MinValueValidator(1, message="Scan command ID must be greater than 0")],
226226
verbose_name="Scan command ID",

0 commit comments

Comments
 (0)