Dump existing data:
python3 manage.py dumpdata > datadump.json
Change settings.py to Postgres backend.
Make sure you can connect on PostgreSQL. Then:
| #!/bin/sh | |
| # by Matija Nalis <[email protected]> GPLv3+ started 20211112 | |
| # automatically kludge cdc_acm.ko for IrToy /dev/ttyACM0 usage "old-way" | |
| # updated by Matija Nalis <[email protected]> 20251022 for RpiOS-Trixie (6.12.47+rpt-rpi-v8) | |
| # | |
| # put this file with +rx permissions in /etc/kernel/postinst.d/cdc-acm-irtoy-kludge | |
| # | |
| #echo script: $0 | |
| #echo params: "$@" |
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='ELAN Touchscreen' | |
| TouchpadDevice='SynPS/2 Synaptics TouchPad' |