Hello, DurationField does not cover cases when input value cannot be converted to timestamp :
timedelta(1000000000) # OverflowError: days=1000000000; must have magnitude <= 999999999 timedelta(100000000000) # OverflowError: Python int too large to convert to C int Therefore I made a custom/inherited DuurationField class to cover those cases and tried to raise a ValidationError inside to_internal_value(). However, only err 500 is visible on GUI side :( Can someone give a hint on where this error is to be handled? Enon -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/66217549-3dac-4895-a51d-323fea84d66fn%40googlegroups.com.
