ci: fix building of pygraphviz

2 jobs for bugfix in 5 minutes and 54 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #2490
black

00:01:46

failed #2489
test

00:05:54

 
Name Stage Failure
failed
test Test There is an unknown failure, please try again
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/builds/ae/Sith/api/urls.py", line 27, in <module>
from api.views import *
File "/builds/ae/Sith/api/views/__init__.py", line 28, in <module>
from rest_framework.decorators import detail_route
ImportError: cannot import name 'detail_route'
ERROR: Job failed: exit code 1