mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Use Django models to store variables
- Remove dependency on withsqlite and use Django models. This avoids depending on a module that is not available in PyPi. Withsqlite does not have Python3 support. It does not work when we choose a different database backend. Atleast partly duplicates what Django models are meant for. - Check and update database schema on every run so that newly added modules can add tables and old ones can update.
This commit is contained in:
1 parent
2bbaa11c96
commit
42d05bfe1f
8 files changed
+119
-67
No files matched your search
@@ -13,7 +13,7 @@ actions_dir = /usr/share/plinth/actions
|
||||
doc_dir = /usr/share/doc/plinth
|
||||
|
||||
# file locations
|
||||
store_file = %(data_dir)s/store.sqlite3
|
||||
store_file = %(data_dir)s/plinth.sqlite3
|
||||
status_log_file = %(log_dir)s/status.log
|
||||
access_log_file = %(log_dir)s/access.log
|
||||
pidfile = %(pid_dir)s/plinth.pid
|
||||
|
||||
Reference in new issue
Block a user