Answer the question
In order to leave comments, you need to log in
Why can't django rest framework import link?
I'm trying to run the project in production, but after copying and setting it up, I get an error:
from rest_framework.decorators import link
ImportError: cannot import name link
Answer the question
In order to leave comments, you need to log in
Apparently, a different version of the package is used in production, see this commit . This decorator was removed in version 3.0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question