2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 04:27:45 +00:00

tidy obsolete troggle/code/reset_db

This commit is contained in:
Philip Sargent
2021-04-10 01:14:23 +01:00
parent 6dc54adec8
commit 876868506f
5 changed files with 53 additions and 32 deletions

7
debian/sitecustomize.py vendored Normal file
View File

@@ -0,0 +1,7 @@
# install the apport exception handler if available
try:
import apport_python_hook
except ImportError:
pass
else:
apport_python_hook.install()

View File

@@ -82,3 +82,14 @@ I've tweaked the apache and mysql settings to make them a bit more suitable for
https://www.narga.net/optimizing-apachephpmysql-low-memory-server/
(just discovered 'ab' for running apache performance tests - handy).
Do the edit to site-packages/django/db/backends/base.py
to comment out the requirement for mysqlclient >1.3.13
as we run perfectly happily with Django 2.2.19 & mysqlite 1.3.10
:
version = Database.version_info
#test nobbled by Wookey 2021-04-08 as 1.3.13 is not available on stable
#if version < (1, 3, 13):
# raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Database.__version__)