Closed godiard closed 3 years ago
I can't find in the code why these fields are required, but if are not filled, the book is not added. Any idea?
https://github.com/PathagarBooks/pathagar/blob/master/books/forms.py
The BookForm form requires all fields required my the db by default.
There is a way to automatically return errors from django forms I will look up the docs when I get back to a keyboard. On Apr 10, 2015 3:09 PM, "Gonzalo Odiard" notifications@github.com wrote:
I can't find in the code why these fields are required, but if are not filled, the book is not added. Any idea?
— Reply to this email directly or view it on GitHub https://github.com/PathagarBooks/pathagar/issues/56#issuecomment-91669159 .
Can we close this?
When using the "Add book" option in the web, if the user don't fill the Title or Author fields, no error is displayed, just the form is shown.