Skip to content
Adrian Wilke edited this page Mar 15, 2024 · 2 revisions

Installation notes for Ubuntu/Debian systems

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 maybe python3-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

Change default passwords

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)
Clone this wiki locally