What is the best practice for API versioning with DRF right now?

What are the current best practices for API versioning?

DRF seems to support it, but it requires to have a “switch” per version. If we support SemVer, every minor version would lead to a new serializer!

I’m sure there must be a better way. Do you guys know? :slight_smile:

I’m not seeing what the problem or issue is. Can you explain why you think this is true?
I don’t see why you couldn’t assign the same serializer to multiple versions.


I suggest you to take a look on this blog and the playlist mentioned in the blog.

This may answer your question.


Sowthri S


Please refer the below blog. You may have an idea on API Versioning.

Please don’t forget to take a look on the videos listed on their playlist.