D
D
DIas Dyussembek2020-02-03 12:45:25
Django
DIas Dyussembek, 2020-02-03 12:45:25

How to write on django-rest-framework?

Hello! I have such a question, I'm a beginner Django-developer, and now I'm writing purely on django, should I switch to DRF, and if the site needs an API, then you need to first on django and then connect DRF, or can you just raise it on DRF?
PS sorry if the question is wrong, I don't know much about DRF, thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexandrBirukov, 2020-02-03
@AlexandrBirukov

django-rest-framework is just a plugin for django

A
alternativshik, 2020-02-03
@alternativshik

DRF is a set of goodies for faster and more convenient writing of REST api. All this can be written in pure django, but is it necessary when there are a bunch of ready-made functions in DRF?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question