Feb-16-2018, 01:31 AM
Hello.. May I make a suggestion that you look inside the directory where you have your venv setup. And browse that directory. For example on my system
/usr/local/venv/wurst is where I stored my virtualenv, from there I can see that there is a folder structure of /lib/python3.6/site-packages Inside there you will find your python modules, such as django. I am not providing any answers here but giving you some ideas of things you might want to look at to try to get a better understanding for stuff that django is talking about.
On your system the paths will be different depending on where you created your virtualenv and what version of python you have in that environment. On my system there is a file /usr/local/venvs/wurst/lib/python3.6/site-packages/django/contrib/auth/password_validation.py which looks like what the dictionary values are pointing to. I would sugest looking at that file in read only mode. If you use vim that would be vim -R <filename> But whichever editor you use, make sure you are not changing anything in this file but try to get an idea of what is happening. Form some ideas in your head. When I was learning C programming my instructor told us to read some of the .h files so that we could understand what was happening even if we did not understand the contents of the file itself.
Modules can have many parts. Just giving you some food for thought instead of answering the question because I think you will get more value out of this.
/usr/local/venv/wurst is where I stored my virtualenv, from there I can see that there is a folder structure of /lib/python3.6/site-packages Inside there you will find your python modules, such as django. I am not providing any answers here but giving you some ideas of things you might want to look at to try to get a better understanding for stuff that django is talking about.
On your system the paths will be different depending on where you created your virtualenv and what version of python you have in that environment. On my system there is a file /usr/local/venvs/wurst/lib/python3.6/site-packages/django/contrib/auth/password_validation.py which looks like what the dictionary values are pointing to. I would sugest looking at that file in read only mode. If you use vim that would be vim -R <filename> But whichever editor you use, make sure you are not changing anything in this file but try to get an idea of what is happening. Form some ideas in your head. When I was learning C programming my instructor told us to read some of the .h files so that we could understand what was happening even if we did not understand the contents of the file itself.
Modules can have many parts. Just giving you some food for thought instead of answering the question because I think you will get more value out of this.