helpdesk.forms module¶
-
class
helpdesk.forms.
QueueForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
helpdesk.models.Queue
-
fields
= ['name', 'slug', 'description', 'managing_group', 'response_groups', 'parent_queue']¶
-
-
base_fields
= {'description': <django.forms.fields.CharField object>, 'managing_group': <django.forms.models.ModelChoiceField object>, 'name': <django.forms.fields.CharField object>, 'parent_queue': <django.forms.models.ModelChoiceField object>, 'response_groups': <django.forms.models.ModelMultipleChoiceField object>, 'slug': <django.forms.fields.SlugField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class
-
class
helpdesk.forms.
TicketForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
helpdesk.models.Ticket
-
fields
= ['queue', 'title', 'description', 'defined_on', 'defined_by', 'priority', 'publicly_visible', 'deadline', 'status', 'concerning_object_type', 'concerning_object_id']¶
-
-
base_fields
= {'concerning_object_id': <django.forms.fields.IntegerField object>, 'concerning_object_type': <django.forms.models.ModelChoiceField object>, 'deadline': <django.forms.fields.DateField object>, 'defined_by': <django.forms.models.ModelChoiceField object>, 'defined_on': <django.forms.fields.DateTimeField object>, 'description': <django.forms.fields.CharField object>, 'priority': <django.forms.fields.TypedChoiceField object>, 'publicly_visible': <django.forms.fields.BooleanField object>, 'queue': <django.forms.models.ModelChoiceField object>, 'status': <django.forms.fields.TypedChoiceField object>, 'title': <django.forms.fields.CharField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class
-
class
helpdesk.forms.
TicketAssignForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
helpdesk.models.Ticket
-
fields
= ['assigned_to']¶
-
-
base_fields
= {'assigned_to': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class
-
class
helpdesk.forms.
FollowupForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
helpdesk.models.Followup
-
fields
= ['ticket', 'text', 'by', 'timestamp', 'action']¶
-
-
base_fields
= {'action': <django.forms.fields.TypedChoiceField object>, 'by': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'ticket': <django.forms.models.ModelChoiceField object>, 'timestamp': <django.forms.fields.DateTimeField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class