from django import forms
from logs.models import Log

class LineCountForm(forms.Form):
  linesToFetch = forms.IntegerField(label="Number of lines to show", min_value=0, initial=Log.defaultLinesToShow)
from django import forms
from logs.models import Log

class LineCountForm(forms.Form):
  linesToFetch = forms.IntegerField(label="Number of lines to show (0 for all)", min_value=0, initial=Log.defaultLinesToShow)
Add to the label that 0 lines will result in the entire file being downloaded
Add to the label that 0 lines will result in the entire file being downloaded

  from django import forms
  from logs.models import Log
  
  class LineCountForm(forms.Form):
-   linesToFetch = forms.IntegerField(label="Number of lines to show", min_value=0, initial=Log.defaultLinesToShow)
+   linesToFetch = forms.IntegerField(label="Number of lines to show (0 for all)", min_value=0, initial=Log.defaultLinesToShow)
Add to the label that 0 lines will result in the entire file being downloaded
## Code Before:
from django import forms
from logs.models import Log

class LineCountForm(forms.Form):
  linesToFetch = forms.IntegerField(label="Number of lines to show", min_value=0, initial=Log.defaultLinesToShow)
## Instruction:
Add to the label that 0 lines will result in the entire file being downloaded
## Code After:
from django import forms
from logs.models import Log

class LineCountForm(forms.Form):
  linesToFetch = forms.IntegerField(label="Number of lines to show (0 for all)", min_value=0, initial=Log.defaultLinesToShow)