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
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1519,6 +1519,8 @@ (define (create-__init__.py filename)
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