Re: Adding an API to an existing Django app

2014-01-21 Thread Dennis Plöger
Hi! You could use content negotiation to achieve what you want > http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html > No, that's not what I want. I'm actually looking for a way to lift my REST api to the same level as my Web UI. I have a completely working Web UI, that uses models or query

Re: Adding an API to an existing Django app

2014-01-17 Thread Konstantinos Pachnis
Hi Dennis, You could use content negotiation to achieve what you want http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html On Friday, January 10, 2014 12:27:26 PM UTC+2, Dennis Plöger wrote: > > Hi people! > > I've just searched some time for a way to acomplish something, that seems > to be m

Re: Adding an API to an existing Django app

2014-01-16 Thread Dennis Plöger
Hi! It's me again. I think, I got the whole thing wrong. Instead of plunging an API to an existing WebApp, it would be best to base the WebApp onto the API in the first place. I saw, that you can actually do that using the common Rest frameworks available, so I'm digging my way through that fo

Adding an API to an existing Django app

2014-01-10 Thread Dennis Plöger
Hi people! I've just searched some time for a way to acomplish something, that seems to be missing from Django or where there doesn't seem to be a Django app for that. Or maybe I just don't get it. I have created an app, that has a model and uses CBVs and templates to display a nice Web UI (sa