-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Hi
I try use this solution to generate my api docs. I installed it with pip and add it name in INSTALLED_APPS, but, when i running the server, that error appears:
File "/my_pc/envs/my_project/lib/python3.5/site-packages/rest_framework_docs/api_docs.py", line 3, in
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
ImportError: No module named 'django.core.urlresolvers'
Anyone have any ideia for fix it?
I using:
Django==2.0.7
djangorestframework==3.8.2
drfdocs==0.0.11
paparadva, elgartoinf and singhpratyush
Activity
live-wire commentedon Aug 31, 2018
Same problem. Please fix this. Can't move to Django2 without DRF Docs ❤️
zhangxu999 commentedon Nov 15, 2018
Same problem.
itsmeakhil commentedon Oct 23, 2019
the same problem for me also
nabil-mokhtar commentedon Feb 6, 2021
any news ?
Hammadulhaq123 commentedon Oct 18, 2023
RegexURLResolver, RegexURLPattern is not available from django 2.0 & above so inorder to use this framework you need to update the core files of the rest_frameworks_docs. I am working on it and will crack this in few days.