I am not too sure why there is this issue, and I have already set the neccessary settings in the Django settings.py to ensure that permission is granted (for testing purposes I just set it to allow all). However, when I copy that same JSON data and use it to send a post request in Postman, there was no error and the code was 201 (created). When i send a post request with the relevant data in JSON format using axios in ReactJS, it returns an error code of 400. Django Dumpdata Error Unable To Serialize Database Code Of 400 I am using DRF for the api calls from ReactJS to Django, but am facing an issue with sending a post request. I am creating an application that uses Django as the backend, and ReactJS as the front end. It is our responsibility and our honour to use our platform to amplify the voices of the oppressed and marginalised.Īp19:03:25 Django version 3.0.5, using settings crm.settings Starting development server at Quit the server with CTRL-BREAK. Django Dumpdata Error Unable To Serialize Database Code Of 400.Django Dumpdata Error Unable To Serialize Database How To Test For.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |