manosim / manosim/django-rest-framework-docs

Django 2.0 Support

Open
#175 16 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
641
Forks
178
PR merge metrics
No merged PRs in 30d

Description

While trying to upgrade one of my projects to Django 2.0, I received the following error for drf-docs:
```
File ".../ve3.6/lib/python3.6/site-packages/rest_framework_docs/api_docs.py", line 3, in
from django.core.urlresolvers import RegexURLResolver, RegexURLPattern
ModuleNotFoundError: No module named 'django.core.urlresolvers'
```
So far I have not found much about how those classes have been moved/changed in Django's latest versions, so I cannot yet contribute to fix this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with drf-docs/api_docs.py and the Django 2.0 URL resolver changes behind the failing django.core.urlresolvers import. Check how the existing API documentation URL handling depends on these classes; done means the package supports Django 2.0 without this ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.