Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute error when generate API documentation #2

Open
Keda87 opened this issue Jan 29, 2019 · 0 comments
Open

Attribute error when generate API documentation #2

Keda87 opened this issue Jan 29, 2019 · 0 comments

Comments

@Keda87
Copy link

Keda87 commented Jan 29, 2019

First of all, thank you for writing this excellent package. 👍

I'm developing a new project using this package but I got an error when creating API documentation using DRF built-in documentation following this docs.

These are my dependency information that I used.

django==2.1.5
djangorestframework==3.9.1
djangorestframework-jsonmask==0.1.1

And here is the stacktrace


Request Method: | GET
-- | --
http://127.0.0.1:5012/
2.1.5
AttributeError
'NoneType' object has no attribute 'GET'

Django Version: | 2.1.5
-- | --
AttributeError
'NoneType' object has no attribute 'GET'
/Users/adiyatmubarak/.virtualenvs/88user_service-eQNupJW0/lib/python3.7/site-packages/rest_framework_jsonmask/views.py in get_serializer_context, line 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant