M
M
MalikDeveloper20772020-02-12 12:59:49
Django
MalikDeveloper2077, 2020-02-12 12:59:49

DRF what on ViewSet?

Suppose I have a large project, is it possible to mix viewset, apiview, generic, etc. in my code (API)?
Is it worth using ViewSet?
What is better to use and what are your recommendations for writing DRF code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
javedimka, 2020-02-12
@javedimka

You need to use what suits your needs. You need the simplest and most common functionality - use a view set. You need something more complicated - use what lies at the level below.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question