ACIL FM
Dark
Refresh
Current DIR:
/usr/lib/python3.9/site-packages/passlib/ext/django
/
usr
lib
python3.9
site-packages
passlib
ext
django
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
models.py
1.28 MB
chmod
View
DL
Edit
Rename
Delete
utils.py
48.25 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
228 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/lib/python3.9/site-packages/passlib/ext/django/models.py
"""passlib.ext.django.models -- monkeypatch django hashing framework""" #============================================================================= # imports #============================================================================= # core # site # pkg from passlib.context import CryptContext from passlib.ext.django.utils import DjangoContextAdapter # local __all__ = ["password_context"] #============================================================================= # global attrs #============================================================================= #: adapter instance used to drive most of this adapter = DjangoContextAdapter() # the context object which this patches contrib.auth to use for password hashing. # configuration controlled by ``settings.PASSLIB_CONFIG``. password_context = adapter.context #: hook callers should use if context is changed context_changed = adapter.reset_hashers #============================================================================= # main code #============================================================================= # load config & install monkeypatch adapter.load_model() #============================================================================= # eof #=============================================================================
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply