Django-parsley | Client side form validations for Django - Using parsley.js | Validation library
kandi X-RAY | Django-parsley Summary
kandi X-RAY | Django-parsley Summary
Client side form validations for Django - Using parsley.js
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Django-parsley
Django-parsley Key Features
Django-parsley Examples and Code Snippets
Community Discussions
Trending Discussions on Django-parsley
QUESTION
This is such a basic question, I'm sorry. I installed django-parsley with poetry (poetry add django-parsley
). It's clearly installed in my pyproject.toml
file.
In my django project files, in forms.py
, I have a line of code that imports a module from parsley
: from parsley.decorators import parsleyfy
However, when I try to run python manage.py runserver
, I get the following error:
ANSWER
Answered 2022-Feb-24 at 19:48I figured it out. It's actually a VSCode issue - normally, VSCode automatically identifies the right virtual environment for the project (in this case, Poetry's default auto-created project-specific venv).
However, in this project, it didn't switch over. To fix, I ran the Python: Select Interpreter
command and switched the venv over to the right project. It then recognized the site-packages folder and was able to import normally.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Django-parsley
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page