me
/
guix
Archived
1
0
Fork 0

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.
master
Christopher Baines 2022-02-02 18:27:10 +00:00
parent 6cced3f1e6
commit 108e7576c0
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 2 additions and 0 deletions

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