File hyperkitty-settings.patch of Package python-HyperKitty

Index: HyperKitty-1.3.6/example_project/settings.py
===================================================================
--- HyperKitty-1.3.6.orig/example_project/settings.py	2022-05-19 03:16:49.000000000 +0200
+++ HyperKitty-1.3.6/example_project/settings.py	2022-11-21 10:36:26.670671874 +0100
@@ -134,7 +134,7 @@ DATABASES = {
         # Use 'sqlite3', 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
         'ENGINE': 'django.db.backends.sqlite3',
         # DB name or path to database file if using sqlite3.
-        'NAME': os.path.join(BASE_DIR, 'hyperkitty.db'),
+        'NAME': '/var/lib/hyperkitty/data/hyperkitty.db',
         # The following settings are not used with sqlite3:
         'USER': 'hyperkitty',
         'PASSWORD': 'hkpass',
@@ -205,7 +205,7 @@ USE_TZ = True
 # Don't put anything in this directory yourself; store your static files
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
 # Example: "/var/www/example.com/static/"
-STATIC_ROOT = os.path.join(BASE_DIR, 'static')
+STATIC_ROOT = '/srv/www/webapps/mailman/hyperkitty/static'
 
 # URL prefix for static files.
 # Example: "http://example.com/static/", "http://static.example.com/"
@@ -386,7 +386,7 @@ LOGGING = {
             'level': 'INFO',
             #'class': 'logging.handlers.RotatingFileHandler',
             'class': 'logging.handlers.WatchedFileHandler',
-            'filename': os.path.join(BASE_DIR, 'hyperkitty.log'),
+            'filename': '/var/log/hyperkitty/hyperkitty.log',
             'formatter': 'verbose',
         },
         'console': {
openSUSE Build Service is sponsored by