K
K
Klaus Kater2015-04-01 18:39:50
Django
Klaus Kater, 2015-04-01 18:39:50

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

1 answer(s)
Y
Yuri Shikanov, 2015-04-01
@kurojneko

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 question

Ask a Question

731 491 924 answers to any question