Re: Django web app reaching rest api and CORS problem

2018-02-21 Thread Andy
Why do you use a third component to have a rest api? instead of the django rest framework? Since the problem is inside your custom falcon server, its not in any way related to django .. ask the falcon comunity here instead: https://gitter.im/falconry/user Am Mittwoch, 2. November 2016 14:29:25

Re: Django web app reaching rest api and CORS problem

2018-02-21 Thread Siphiwe Gwebu
Did you manage to sort this out? Got the same issue... On Wednesday, 2 November 2016 15:29:25 UTC+2, Oguz Yarimtepe wrote: > > I have a django app and at the template part i have javascript function > calling the rest api: > > > > http://komandor.app.gittigidiyor.net:8000/static/js/select-autofi

Django web app reaching rest api and CORS problem

2016-11-02 Thread Oguz Yarimtepe
I have a django app and at the template part i have javascript function calling the rest api: http://komandor.app.gittigidiyor.net:8000/static/js/select-autofiller.js>"> At the js file i am filling a select box according to the returned json response $('#field1').change(function(){ var