mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 01:27:44 +02:00
Remove ccommented out triaql code.
This commit is contained in:
parent
f322628c74
commit
3f9b3f9689
@ -2122,8 +2122,6 @@ class CustomField(models.Model):
|
|||||||
attributes["max_digits"] = self.max_length
|
attributes["max_digits"] = self.max_length
|
||||||
elif self.data_type == "list":
|
elif self.data_type == "list":
|
||||||
attributes["choices"] = self.get_choices()
|
attributes["choices"] = self.get_choices()
|
||||||
# elif self.data_type == "datetime":
|
|
||||||
# attributes["default_timezone"] = getattr(settings, "DEFAULT_TIMEZONE", "UTC")
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return customfield_to_api_field_dict[self.data_type](**attributes)
|
return customfield_to_api_field_dict[self.data_type](**attributes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user