Should I handle ajax requests in vanilla Django or rest Django?
<p>I have a bunch of ajax requests on my website (ex. upvote sends request to server)</p>

<p>Should I integrate this functionality server side just with another view function </p>

<p>Or is it recommended that I shove all the necessary views into a Django rest framework?</p>

<p>I usually follow DDD approach. So all my requests end up being just a CRUD operation for an entity. I always prefer REST APIs, thus I would say if you have DDD approach already in place go with django-rest-framework.</p>

<p>Otherwise, it really does not matter, depends on your need.</p>

python ajax django rest django-rest-framework