I'm writing a custom date field for Credit Card Expiration Fields. I've noticed that in custom field examples, there are two major part that we need to override, clean and compress methods.
I know that we can validate and change return values of the field value in clean method. But what about compress method ? Why do we need that and what's the difference in between of clean and compress method ?