mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
format fixes
This commit is contained in:
parent
aab7dfa78f
commit
77b58ef241
@ -130,7 +130,9 @@ class EditTicketForm(CustomFieldMixin, forms.ModelForm):
|
||||
# Since title is max 100 characters limit it in editing
|
||||
if "title" in self.fields:
|
||||
self.fields["title"].max_length = Ticket._meta.get_field("title").max_length
|
||||
self.fields["title"].widget.attrs["maxlength"] = Ticket._meta.get_field("title").max_length
|
||||
self.fields["title"].widget.attrs["maxlength"] = Ticket._meta.get_field(
|
||||
"title"
|
||||
).max_length
|
||||
|
||||
# Disable and add help_text to the merged_to field on this form
|
||||
self.fields["merged_to"].disabled = True
|
||||
|
@ -4,15 +4,14 @@ from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('helpdesk', '0038_checklist_checklisttemplate_checklisttask'),
|
||||
("helpdesk", "0038_checklist_checklisttemplate_checklisttask"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ticketchange',
|
||||
name='field',
|
||||
field=models.CharField(max_length=200, verbose_name='Field'),
|
||||
model_name="ticketchange",
|
||||
name="field",
|
||||
field=models.CharField(max_length=200, verbose_name="Field"),
|
||||
),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user