forked from pool/python-HyperKitty
Accepting request 982351 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/982351 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 10 08:14:18 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- First Make migrations on update, then call migrate
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 26 09:19:37 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -279,6 +279,7 @@ export PYTHONPATH=$(pwd)
|
||||
if ! grep -q "^SECRET_KEY.*" %{hyperkitty_etcdir}/settings_local.py; then
|
||||
echo "SECRET_KEY='$(openssl rand -base64 48)'" >> %{hyperkitty_etcdir}/settings_local.py
|
||||
fi
|
||||
%{_sbindir}/hyperkitty-manage makemigrations --pythonpath /srv/www/webapps/mailman/hyperkitty/ --settings settings
|
||||
%{_sbindir}/hyperkitty-manage migrate --pythonpath /srv/www/webapps/mailman/hyperkitty/ --settings settings
|
||||
|
||||
%service_add_post %{hyperkitty_services}
|
||||
|
Reference in New Issue
Block a user