Re: RES: How to connect django and React js but getting Error

2020-10-26 Thread David Nugent
In this situation, something you might also consider is FastAPI https://fastapi.tiangolo.com (which is based on Starlette https://www.starlette.io). For the database you'll probably need to use SqlAlchemy vs Django ORM, but if you're serving static content and just need to provide an API it is

RES: How to connect django and React js but getting Error

2020-10-26 Thread Samuel Nogueira
Also you should follow Farai’s recommendation and use DRF in your applicaiton. -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-8780

RES: How to connect django and React js but getting Error

2020-10-26 Thread Samuel Nogueira
Please can you show me your views.py? -Samuel Nogueira Bacelar GitHub: https://github.com/SamuelNoB Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa/ --