1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
43e5c4a0ac

* gnu/services/web.scm (patchwork-settings-module-compiler): Specify
DEFAULT_AUTO_FIELD in the settings module.
This commit is contained in:
Christopher Baines
2022-02-02 18:27:10 +00:00
parent 6cced3f1e6
commit 108e7576c0

View File

@@ -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