You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error constructing plugin instance of NewSemanalDjangoPlugin
...
raise ImproperlyConfigured(install_failure)
django.core.exceptions.ImproperlyConfigured: django-configurations settings importer wasn't correctly installed. Please use one of the starter functions to install it as mentioned in the docs: https://django-configurations.readthedocs.io/
Note:
Whilst commenting usage of django-stubs in [tool.mypy] directive of pyproject.toml leading to expected issue of mypy not being able to catch django types from models.py (for example).
Note 2:
As I see this PR #180 is still open.
Would it be better to remove django-configurations entry from README.md since it could cause confusion?
System information
OS: macOS Sonoma
python version: 3.11.4
django version: 4.2.5
mypy version: 1.4.1
mypy-extensions version: 1.0.0
django-stubs version: 4.2.3
django-stubs-ext version: 4.2.2
djangorestframework-stubs version: 3.14.2
The text was updated successfully, but these errors were encountered:
@kaldown Sure thing, I would glad to.
I need you to look at #180 and tell me if this is not a convenient solution or if there are any caveats you want to be addressed.
I have to admit I never-ever used typing in python. Started with my pet project I gave it a shot, and straight away drove into the "issue". In order to not be overwhelmed by the new tool, and knowing you are one of the main contributors to django-stubs and related projects - I am asking your advice, it would really help me to achieve better results.
If your advice would be to only change documentation or adjust related PR - I'm fine with this too.
Thank you.
Following documentation do not solve the issue of
django-stubs
working withdjango-configurations
Returns an Error:
Note:
Whilst commenting usage of django-stubs in [tool.mypy] directive of pyproject.toml leading to expected issue of mypy not being able to catch django types from models.py (for example).
Note 2:
As I see this PR #180 is still open.
Would it be better to remove django-configurations entry from README.md since it could cause confusion?
System information
python
version: 3.11.4django
version: 4.2.5mypy
version: 1.4.1mypy-extensions
version: 1.0.0django-stubs
version: 4.2.3django-stubs-ext
version: 4.2.2djangorestframework-stubs
version: 3.14.2The text was updated successfully, but these errors were encountered: