Answer the question
In order to leave comments, you need to log in
Django + Ajax DRF or not?
If I'm working with an ajax request, let's say create an article without reloading or like it. Do I need DRF for such things or can I just do something like:
class SomeView(View):
def get(self, request):
data = {}
data["title"] = request.POST.get("title")
# Получаем из data атрибута в ajax
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question