Matej Cepl
797dab061c
- Update to version 1.3.6 * https://gitlab.com/mailman/postorius/-/blob/1.3.6/src/postorius/doc/news.rst OBS-URL: https://build.opensuse.org/request/show/932059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=31
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
Index: postorius-1.3.6/example_project/settings.py
|
|
===================================================================
|
|
--- postorius-1.3.6.orig/example_project/settings.py 2021-09-19 03:21:45.000000000 +0200
|
|
+++ postorius-1.3.6/example_project/settings.py 2021-11-18 08:48:27.881938336 +0100
|
|
@@ -136,7 +136,7 @@ WSGI_APPLICATION = 'wsgi.application'
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
- 'NAME': os.path.join(BASE_DIR, 'postorius.db'),
|
|
+ 'NAME': '/var/lib/postorius/data/postorius.db',
|
|
}
|
|
}
|
|
|
|
@@ -180,7 +180,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/postorius/static'
|
|
|
|
# URL prefix for static files.
|
|
# Example: "http://example.com/static/", "http://static.example.com/"
|
|
@@ -259,7 +259,7 @@ LOGGING = {
|
|
'level': 'INFO',
|
|
#'class': 'logging.handlers.RotatingFileHandler',
|
|
'class': 'logging.handlers.WatchedFileHandler',
|
|
- 'filename': os.path.join(BASE_DIR, 'logs', 'postorius.log'),
|
|
+ 'filename': '/var/log/postorius/postorius.log',
|
|
'formatter': 'verbose',
|
|
},
|
|
},
|