Skip to content

Missing decorator stubs #37

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

Closed
mattbasta opened this issue Mar 2, 2019 · 1 comment
Closed

Missing decorator stubs #37

mattbasta opened this issue Mar 2, 2019 · 1 comment

Comments

@mattbasta
Copy link
Contributor

I'm seeing a lot of missing stubs errors for Django view decorators:

podcasts/views.py:12: error: No library stub file for module 'django.views.decorators.cache'
podcasts/views.py:13: error: No library stub file for module 'django.views.decorators.csrf'
podcasts/views.py:14: error: No library stub file for module 'django.views.decorators.gzip'
podcasts/views.py:15: error: No library stub file for module 'django.views.decorators.http'

I see the decorators in the django-stubs repo, and I'm running 0.8.0. Any idea why this might be happening?

@mkurnikov
Copy link
Member

Thanks for the report! Fixed it in mkurnikov@627daa5, seems that __init__ file had leftover .py extension.

@TonyRippy TonyRippy mentioned this issue Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants