Re: ajax philosophy

2015-02-12 Thread Aaron Reabow
Okay great, thanks. I wrote a basic view, and it seems to do the job. So far so good :) I know (of) DRF, but not tastypie - will have a look. thanks again for the help On Thursday, 12 February 2015 11:37:36 UTC+2, Avraham Serour wrote: > > in my opinion no, it actually makes sense to have an A

Re: ajax philosophy

2015-02-12 Thread Avraham Serour
in my opinion no, it actually makes sense to have an API with its own routes and views. I suggest you take a look at tastypie or DRF On Thu, Feb 12, 2015 at 10:17 AM, Aaron Reabow wrote: > I would like to separate out my ajax requests into their own views (one > per page, is what I am thinking)

ajax philosophy

2015-02-12 Thread Aaron Reabow
I would like to separate out my ajax requests into their own views (one per page, is what I am thinking) This allows me to keep a very generic base view that applies to multiple pages. This have a number of advantages for me, such as building a bullet proof view that never gives any trouble :)