diff options
author | Christopher Baines <mail@cbaines.net> | 2022-02-02 18:27:10 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-02-02 18:27:10 +0000 |
commit | 108e7576c0bdef7430a44157a29bfba421a9dd92 (patch) | |
tree | 42a6205cfaf045b1cb9a45d8791a394c48f622ac /gnu/services | |
parent | 6cced3f1e6454e1e0f5b794058814dd459a8f698 (diff) | |
download | guix-108e7576c0bdef7430a44157a29bfba421a9dd92.tar.gz |
services: patchwork: Set DEFAULT_AUTO_FIELD in settings.
This resolves some warnings with Django 3.2. This was added by upstream to the base settings https://github.com/getpatchwork/patchwork/commit/43e5c4a0ace4e662c3e3973337445314abbe5247 * gnu/services/web.scm (patchwork-settings-module-compiler): Specify DEFAULT_AUTO_FIELD in the settings module.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/web.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm index e5cc6343b5..3fe58d98e6 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -1519,6 +1519,8 @@ ALLOWED_HOSTS = [ allowed-hosts)) "] +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + DEFAULT_FROM_EMAIL = '" #$default-from-email "' SERVER_EMAIL = DEFAULT_FROM_EMAIL NOTIFICATION_FROM_EMAIL = DEFAULT_FROM_EMAIL |