-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Adrian Wilke edited this page Mar 15, 2024
·
2 revisions
If you get warnings, e.g.
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Make sure the required packages are installed on your system, e.g.
-
python3-mysqldb
and maybepython3-dev default-libmysqlclient-dev
If you get warnings, e.g.
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 or psycopg module
Make sure the required packages are installed on your system, e.g.
python3-psycopg2
You can use set_password to create a hashed password in order to modify the fixtures.
request.user.set_password('django')
request.user.save()
print("Password changed", request.user)