Aplopio / django_rip

MIT License
14 stars 6 forks source link

Add trim attribute to StringField class to remove any extra spaces #26

Closed karthikdamodara closed 9 years ago

karthikdamodara commented 9 years ago

Added a boolean attribute 'trim' attribute to StringField class By default 'trim' attribute is set to False Defined override method 'clean' Based on the value of 'trim' clean method is striping the value

Covered unit test cases for the clean method

karthikdamodara commented 9 years ago

@uttamk review please

karthikdamodara commented 9 years ago

@uttamk please review it