1d20 / ithikithi-be

0 stars 0 forks source link

DRF friendly #5

Open detonavomek-zz opened 6 years ago

detonavomek-zz commented 6 years ago

Замість return Response з кодом 400 можна використовувати 'raise' чогось з rest_framework.exceptions

https://github.com/1d20/ithikithi-be/blob/8422e46281a32ce7055f24b66b34daeeeb14d0e1/person/views.py#L37

andriyl1993 commented 6 years ago

done